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

37 lines
675 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__
2005-10-18 03:49:35 +00:00
#ifndef __goldall_h
#ifdef _MSC_VER
#include <windows.h>
2005-10-18 03:49:35 +00:00
typedef signed char int8_t;
typedef unsigned char uint8_t;
typedef signed short int16_t;
typedef unsigned short uint16_t;
typedef signed long int32_t;
typedef unsigned long uint32_t;
#else
2005-10-07 12:41:11 +00:00
#include <stdint.h>
2005-10-18 03:49:35 +00:00
#endif //#ifdef _MSC_VER
2003-03-26 16:12:22 +00:00
2005-10-18 03:49:35 +00:00
typedef uint8_t bit;
2003-03-26 16:12:22 +00:00
2005-10-18 03:49:35 +00:00
typedef int8_t sbyte;
typedef uint8_t byte;
2003-03-26 16:12:22 +00:00
2005-10-18 03:49:35 +00:00
typedef int16_t sword;
typedef uint16_t word;
typedef int16_t sshort;
typedef uint16_t ushort;
2003-03-26 16:12:22 +00:00
2005-10-18 03:49:35 +00:00
typedef int32_t sdword;
typedef uint32_t dword;
2003-03-26 16:12:22 +00:00
2005-10-18 03:49:35 +00:00
#endif //#ifndef __goldall_h
2003-03-26 16:12:22 +00:00
2005-10-18 03:49:35 +00:00
#endif //#ifndef __TYPEDEFS_H__