home *** CD-ROM | disk | FTP | other *** search
/ Computer Panoráma / computer_panorama_1997-12-hibas.iso / SHARE / GRAPH / PTC051.ZIP / SRC / CONFIG.H < prev    next >
C/C++ Source or Header  |  1997-09-18  |  1KB  |  100 lines

  1. //////////////////////////////////////////
  2. // prometheus truecolor - configuration //
  3. //////////////////////////////////////////
  4.  
  5. #ifndef __PTC_CONFIG_H
  6. #define __PTC_CONFIG_H
  7.  
  8. #include "lang.h"
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15. #ifdef __DOS32__
  16.  
  17.     // system
  18.     #define __X86__
  19.  
  20.     // interfaces
  21.     #define __VGA__
  22.     #define __VESA__
  23.  
  24.     // modules
  25.     #define __DPMI__
  26.  
  27.     // converter config
  28.     #define __8BIT__
  29.     #define __16BIT__   
  30.     #define __32BIT__
  31.     #define __FAKEMODE__
  32.  
  33. #endif
  34.  
  35.  
  36.  
  37. #ifdef __WIN32__
  38.  
  39.     // system
  40.     #define __X86__
  41.  
  42.     // interfaces
  43.     #define __GDI__
  44.     #define __DIRECTX__
  45.  
  46.     // converters
  47.     #define __8BIT__
  48.     #define __16BIT__   
  49.     #define __32BIT__
  50.  
  51. #endif
  52.  
  53.  
  54.  
  55. #ifdef __LINUX__
  56.  
  57.     // system
  58.     #define __X86__
  59.  
  60.     // interfaces
  61.     #define __X11__
  62.     #define __X11MITSHM__
  63.  
  64.     // converters
  65.     #define __8BIT__
  66.     #define __16BIT__   
  67.     #define __32BIT__
  68.  
  69.     // definitions
  70.     #include "linuxdef.h"
  71.  
  72. #endif
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82. #ifdef __X86__
  83.  
  84.     // intel little endian
  85.     #define __LITTLE_ENDIAN__
  86.     #undef  __BIG_ENDIAN    
  87.  
  88. #else
  89.  
  90.     // configure
  91.     #define __LITTLE_ENDIAN__
  92.     #undef  __BIG_ENDIAN
  93.  
  94. #endif
  95.  
  96.  
  97.  
  98.  
  99. #endif
  100.