This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
deb-goldedplus/goldlib/msgidlib/typedefs.h

36 lines
544 B
C
Raw Normal View History

2005-10-07 12:41:11 +00:00
/* Completely rewritten */
2003-03-26 16:12:22 +00:00
#ifndef __TYPEDEFS_H__
#define __TYPEDEFS_H__
#ifdef _MSC_VER
#include <windows.h>
typedef UCHAR uint8_t;
typedef signed char int8_t;
typedef WORD uint16_t;
typedef short int16_t;
typedef INT int32_t;
typedef UINT uint32_t;
#else
2005-10-07 12:41:11 +00:00
#include <stdint.h>
#endif
2003-03-26 16:12:22 +00:00
2005-10-11 18:25:31 +00:00
typedef unsigned char bit;
2003-03-26 16:12:22 +00:00
2005-10-07 12:41:11 +00:00
typedef uint8_t byte;
2003-03-26 16:12:22 +00:00
2005-10-07 12:41:11 +00:00
typedef int8_t sbyte;
2003-03-26 16:12:22 +00:00
2005-10-07 12:41:11 +00:00
typedef uint16_t word;
typedef int16_t sword;
2003-03-26 16:12:22 +00:00
2005-10-07 12:41:11 +00:00
typedef uint32_t dword;
typedef int32_t sdword;
2003-03-26 16:12:22 +00:00
2005-10-07 12:41:11 +00:00
typedef uint16_t ushort;
typedef int16_t sshort;
2003-03-26 16:12:22 +00:00
#endif