00001
00002
00003
00004
00005
00006
00007
00008
00009
00030 #ifndef _OSDEFS_H
00031 #define _OSDEFS_H
00032
00033 #if defined(__WATCOMC__)
00034 # if defined(__WINDOWS__) || defined(__NT__)
00035 # define _Windows
00036 # endif
00037 # ifdef __386__
00038 # define __32BIT__
00039 # endif
00040 # if defined(_Windows) && defined(__32BIT__)
00041 # define __WIN32__
00042 # endif
00043 #elif defined(_MSC_VER)
00044 # if defined(_WINDOWS) || defined(_WIN32)
00045 # define _Windows
00046 # endif
00047 # ifdef _WIN32
00048 # define __WIN32__
00049 # define __32BIT__
00050 # endif
00051 #endif
00052
00053
00054 #if !defined BIG_ENDIAN
00055 #define BIG_ENDIAN 4321
00056 #endif
00057 #if !defined LITTLE_ENDIAN
00058 #define LITTLE_ENDIAN 1234
00059 #endif
00060
00061 #if !defined BYTE_ORDER
00062 #if defined UCLINUX
00063 #define BYTE_ORDER BIG_ENDIAN
00064 #else
00065 #define BYTE_ORDER LITTLE_ENDIAN
00066 #endif
00067 #endif
00068
00069
00070 #if defined(_Windows) && !defined(_INC_WINDOWS) && !defined(__WINDOWS_H) && !defined(NOWINDOWS)
00071 # include <windows.h>
00072 # include <windowsx.h>
00073 #endif
00074
00075 #endif