Diff for /np2/win9xc/compiler.h between versions 1.2 and 1.7

version 1.2, 2003/10/18 00:35:35 version 1.7, 2003/12/08 00:55:34
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 1  
 #ifndef __cplusplus  
 #define DWORD   xxx  
 #define WORD    xxx  
 #endif  
 #endif  
   
   #ifndef __GNUC__
   typedef signed char             SINT8;
   typedef unsigned char   UINT8;
   typedef signed short    SINT16;
   typedef unsigned short  UINT16;
   typedef signed int              SINT32;
   typedef unsigned int    UINT32;
   #else
   #include        <stdlib.h>
   typedef signed char             SINT8;
   typedef unsigned char   UINT8;
 typedef short                   SINT16;  typedef short                   SINT16;
 typedef unsigned short  UINT16;  typedef unsigned short  UINT16;
 typedef int                             SINT32;  typedef int                             SINT32;
 typedef unsigned int    UINT32;  #endif
   
   // for RISC test
   #define REG8            UINT
   #define REG16           UINT
   
   
 #include        "common.h"  #include        "common.h"
 #include        "milstr.h"  #include        "milstr.h"
Line 24  typedef unsigned int UINT32; Line 37  typedef unsigned int UINT32;
 #include        "trace.h"  #include        "trace.h"
   
 #define GETTICK()       GetTickCount()  #define GETTICK()       GetTickCount()
 #define GETRAND()       rand()  
 #define SPRINTF         wsprintf  #define SPRINTF         wsprintf
   #define __ASSERT(s)
   
 #define LABEL           __declspec(naked)  #define LABEL           __declspec(naked)
 #define RELEASE(x)      if (x) {(x)->Release(); (x) = NULL;}  #define RELEASE(x)      if (x) {(x)->Release(); (x) = NULL;}
Line 41  typedef unsigned int UINT32; Line 54  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
Line 48  typedef unsigned int UINT32; Line 63  typedef unsigned int UINT32;
 #define SUPPORT_NORMALDISP  #define SUPPORT_NORMALDISP
 #define MEMOPTIMIZE             1  #define MEMOPTIMIZE             1
   
   #define SOUNDRESERVE    20
   
   #define FASTCALL        __fastcall
   

Removed from v.1.2  
changed lines
  Added in v.1.7


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