diff --git a/src/odoors/OpenDoor.h b/src/odoors/OpenDoor.h index 2b80752903f2a65c2b383395fb1d3a4b16503ef2..78836021ba25b1273b64ee557b371c28733907db 100644 --- a/src/odoors/OpenDoor.h +++ b/src/odoors/OpenDoor.h @@ -178,10 +178,18 @@ /* Portable types that are the same size across all platforms */ #ifndef ODPLAT_WIN32 +#ifndef BYTE typedef unsigned char BYTE; /* Unsigned, 8 bits. */ +#endif +#ifndef WORD typedef unsigned short WORD; /* Unsigned, 16 bits. */ +#endif +#ifndef DWORD typedef unsigned long DWORD; /* Unsigned, 32 bits. */ +#endif +#ifndef CHAR typedef char CHAR; /* Native character representation. */ +#endif #define DWORD_DEFINED #define WORD_DEFINED #endif /* !ODPLAT_WIN32 */