Changeset 5288 for trunk/include/odin.h


Ignore:
Timestamp:
Mar 6, 2001, 10:44:40 PM (24 years ago)
Author:
mike
Message:

Changes/fixes/updates for building with Watcom

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/odin.h

    r5148 r5288  
    5151  #define WIN32API  __stdcall
    5252  #define WINAPI    __stdcall
    53   #define SYSTEM    __stdcall
     53  #define SYSTEM    _System
    5454  #define PASCAL    __stdcall
    5555  #define UNALIGNED
     56
     57//MN: For some strange reason Watcom doesn't define these for C++!
     58//    This is not the best place to define them though.
     59#ifdef __cplusplus
     60  #define min(a,b)  (((a) < (b)) ? (a) : (b))
     61  #define max(a,b)  (((a) > (b)) ? (a) : (b))
     62#endif
     63
    5664#else
    5765
Note: See TracChangeset for help on using the changeset viewer.