File: declare.h

package info (click to toggle)
unace 1.2b-12
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 408 kB
  • ctags: 420
  • sloc: ansic: 1,762; sh: 113; makefile: 93
file content (36 lines) | stat: -rw-r--r-- 881 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/******************************************************/
/*                                                    */
/* declare.h: declaration-symbols (UCHAR, ULONG, ...) */
/*                                                    */
/******************************************************/
/*  ML - 01/2004: changed licence to GPL              */
/*----------------------------------------------------*/

#ifndef __declare_h
#define __declare_h

#ifdef AMIGA

#include <exec/types.h>

#else /* AMIGA */

#include <stdint.h>

typedef uint16_t       USHORT;
typedef int16_t        SHORT ;
typedef uint16_t       UWORD ;
typedef int16_t        WORD  ;
typedef uint32_t       ULONG ;
typedef int32_t        LONG  ;

#endif  /* !AMIGA */

typedef unsigned char  UCHAR ;
typedef char           CHAR  ;
typedef unsigned       UINT  ;
typedef int            INT   ;


#endif /* __declare_h */