Diff for /np2/win9xc/compiler.h between versions 1.1.1.1 and 1.27

version 1.1.1.1, 2003/10/16 17:59:14 version 1.27, 2004/04/08 13:08:23
Line 1 Line 1
 #include        <windows.h>  #include        <windows.h>
 #include        <stdio.h>  #include        <stdio.h>
 #include        <stddef.h>  #include        <stddef.h>
   #include        <setjmp.h>
   
 #define BYTESEX_LITTLE  #define BYTESEX_LITTLE
   #define OSLANG_SJIS
   #define OSLINEBREAK_CRLF
   
 #if 0  
 #ifndef __cplusplus  #ifndef __GNUC__
 #define DWORD   xxx  typedef signed char                     SINT8;
 #define WORD    xxx  typedef unsigned char           UINT8;
 #endif  typedef signed short            SINT16;
   typedef unsigned short          UINT16;
   typedef signed int                      SINT32;
   typedef unsigned int            UINT32;
   typedef signed __int64          SINT64;
   typedef unsigned __int64        UINT64;
   #define INLINE                          __inline
   #define QWORD_CONST(v)          ((DWORDLONG)(v))
   #define SQWORD_CONST(v)         ((LONGLONG)(v))
   #define snprintf                        _snprintf
   #define vsnprintf                       _vsnprintf
   #else
   #include        <stdlib.h>
   typedef signed char                     SINT8;
   typedef unsigned char           UINT8;
   typedef short                           SINT16;
   typedef unsigned short          UINT16;
   typedef int                                     SINT32;
   typedef signed __int64          SINT64;
   #define INLINE                          inline
 #endif  #endif
   #define FASTCALL                        __fastcall
   
   // for RISC test
   #define REG8            UINT
   #define REG16           UINT
   
   
   // for x86
   #define LOADINTELDWORD(a)               (*((UINT32 *)(a)))
   #define LOADINTELWORD(a)                (*((UINT16 *)(a)))
   #define STOREINTELDWORD(a, b)   *(UINT32 *)(a) = (b)
   #define STOREINTELWORD(a, b)    *(UINT16 *)(a) = (b)
   
 typedef short                   SINT16;  
 typedef unsigned short  UINT16;  
 typedef int                             SINT32;  
 typedef unsigned int    UINT32;  
   
 #include        "common.h"  #include        "common.h"
 #include        "milstr.h"  #include        "milstr.h"
Line 23  typedef unsigned int UINT32; Line 53  typedef unsigned int UINT32;
 #include        "lstarray.h"  #include        "lstarray.h"
 #include        "trace.h"  #include        "trace.h"
   
 #define GETTICK()       GetTickCount()  
 #define GETRAND()       rand()  
 #define SPRINTF         wsprintf  
   
 #define LABEL           __declspec(naked)  #define GETTICK()                       GetTickCount()
 #define RELEASE(x)      if (x) {(x)->Release(); (x) = NULL;}  #define SPRINTF                         wsprintf
   #define __ASSERT(s)
   
   #define LABEL                           __declspec(naked)
   #define RELEASE(x)                      if (x) {(x)->Release(); (x) = NULL;}
   
 #define VERMOUTH_LIB  #define VERMOUTH_LIB
 #define PARTSCALL       __fastcall  #define PARTSCALL       __fastcall
Line 41  typedef unsigned int UINT32; Line 72  typedef unsigned int UINT32;
 #define VRAMCALL        __fastcall  #define VRAMCALL        __fastcall
 #define SCRNCALL        __fastcall  #define SCRNCALL        __fastcall
   
   #define SUPPORT_SJIS
   
 // #define      SUPPORT_8BPP  // #define      SUPPORT_8BPP
 // #define      SUPPORT_16BPP  #define SUPPORT_16BPP
 // #define      SUPPORT_24BPP  // #define      SUPPORT_24BPP
 #define SUPPORT_32BPP  #define SUPPORT_32BPP
 #define SUPPORT_NORMALDISP  #define SUPPORT_NORMALDISP
 #define MEMOPTIMIZE             1  #define MEMOPTIMIZE             1
   
   #define SOUNDRESERVE    20
   
   #if defined(CPUCORE_IA32)
   #define SUPPORT_CRT31KHZ
   #define SUPPORT_PC9821
   #define SUPPORT_PC9801_119
   #define SUPPORT_SOFTKBD                 0
   #define IA32_PAGING_EACHSIZE
   #endif
   #define SUPPORT_HOSTDRV
   #define SUPPORT_SWSEEKSND
   
   
   #if defined(CPUCORE_IA32)
   #define sigjmp_buf                              jmp_buf
   #define sigsetjmp(env, mask)    setjmp(env)
   #define siglongjmp(env, val)    longjmp(env, val)
   #define msgbox(title, msg)              TRACEOUT(("%s", title)); \
                                                                   TRACEOUT(("%s", msg)); \
                                                                   MessageBox(NULL, msg, title, MB_OK)
   #endif
   

Removed from v.1.1.1.1  
changed lines
  Added in v.1.27


RetroPC.NET-CVS <cvs@retropc.net>