Diff for /np2/macos9/compiler.h between versions 1.9 and 1.14

version 1.9, 2004/02/21 17:52:04 version 1.14, 2005/03/20 23:48:02
Line 1 Line 1
 #include        <string.h>  #include        <string.h>
 #include        <stdio.h>  #include        <stdio.h>
 #include        <stdlib.h>  #include        <stdlib.h>
   #include        <stdarg.h>
 #include        <stddef.h>  #include        <stddef.h>
   #if defined(CPUCORE_IA32)
   #include        <setjmp.h>
   #endif
 #ifndef NP2GCC  #ifndef NP2GCC
 #include        <MultiProcessing.h>  #include        <MultiProcessing.h>
 #endif  #endif
Line 12 Line 16
 #define OSLINEBREAK_CR  #define OSLINEBREAK_CR
   
   
 typedef signed int              SINT;  typedef signed int              SINT;
 typedef unsigned int    UINT;  typedef unsigned int    UINT;
   
   typedef signed char             SINT8;
   typedef unsigned char   UINT8;
   
 typedef signed char             SINT8;  typedef signed short    SINT16;
 typedef unsigned char   UINT8;  typedef unsigned short  UINT16;
   
 typedef signed short    SINT16;  typedef signed int              SINT32;
 typedef unsigned short  UINT16;  typedef unsigned int    UINT32;
   
 typedef signed int              SINT32;  typedef SInt64                  SINT64;
 typedef unsigned int    UINT32;  typedef UInt64                  UINT64;
   
 typedef Boolean                 BOOL;  
 typedef signed char             TCHAR;  
 typedef signed char             CHAR;  
 typedef unsigned char   BYTE;  
   
   typedef Boolean                 BOOL;
   typedef signed char             TCHAR;
   typedef signed char             CHAR;
   typedef unsigned char   BYTE;
   
 #define MAX_PATH        260  #define MAX_PATH        260
   
Line 39  typedef unsigned char BYTE; Line 45  typedef unsigned char BYTE;
 #define max(a, b)                               (((a)>(b))?(a):(b))  #define max(a, b)                               (((a)>(b))?(a):(b))
 #define min(a, b)                               (((a)<(b))?(a):(b))  #define min(a, b)                               (((a)<(b))?(a):(b))
   
   #define BRESULT                         UINT8
   #define OEMCHAR                         char
   #define OEMTEXT(string)         string
   #define OEMSPRINTF                      sprintf
   #define OEMSTRLEN                       strlen
   
   
 #include        "common.h"  #include        "common.h"
 #include        "macossub.h"  #include        "macossub.h"
Line 48  typedef unsigned char BYTE; Line 60  typedef unsigned char BYTE;
 #include        "lstarray.h"  #include        "lstarray.h"
 #include        "trace.h"  #include        "trace.h"
   
   
 #define GETTICK()                       macos_gettick()  #define GETTICK()                       macos_gettick()
 #define SPRINTF                         sprintf  
 #define __ASSERT(s)  #define __ASSERT(s)
   #define SPRINTF                         sprintf
   #define STRLEN                          strlen
   
 #define VERMOUTH_LIB  #define VERMOUTH_LIB
 // #define SOUND_CRITICAL  // #define SOUND_CRITICAL
Line 66  typedef unsigned char BYTE; Line 80  typedef unsigned char BYTE;
 // #define SUPPORT_NORMALDISP  // #define SUPPORT_NORMALDISP
 #define MEMOPTIMIZE             1  #define MEMOPTIMIZE             1
   
   #if defined(CPUCORE_IA32)
   #define SUPPORT_CRT31KHZ
   #define SUPPORT_PC9821
   #define IA32_PAGING_EACHSIZE
   #endif
 #define SUPPORT_CRT15KHZ  #define SUPPORT_CRT15KHZ
 #define SUPPORT_HOSTDRV  #define SUPPORT_HOSTDRV
 #define SUPPORT_SWSEEKSND  #define SUPPORT_SWSEEKSND
 #define SUPPORT_SASI  #define SUPPORT_SASI
 #define SUPPORT_SCSI  #define SUPPORT_SCSI
   
   #define SUPPORT_RESUME
   #define SUPPORT_STATSAVE
   
 #define SOUNDRESERVE    80  #define SOUNDRESERVE    80
   
   
   #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))
   #endif
   

Removed from v.1.9  
changed lines
  Added in v.1.14


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