home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / mesa5.zip / mesa5src.zip / MesaDLL / GL / os2_config.h < prev    next >
C/C++ Source or Header  |  2002-12-14  |  883b  |  42 lines

  1. /* os2_config.h v 0.0 14/12/2002 EK */
  2.  
  3. #ifndef __os2_mesa_config_h__
  4. #define __os2_mesa_config_h__
  5.  
  6. #define INCL_DOSPROCESS
  7.    #include <os2.h>
  8.  
  9.   #define WINGDIAPI 
  10.   #define WINAPI
  11. #define CALLBACK
  12.  
  13. #define CDECL __cdecl
  14.  
  15. /* Warning! use only if you know what are you doing */
  16. /* Optlink is VAC specific and is a bit faster,     
  17.    but it may be not compatble with user compiler
  18. */
  19. #define USE_OPTLINK
  20.  
  21. #if defined(USE_OPTLINK)
  22.  #define GLAPIENTRY    _Optlink
  23.  #define GLCALLBACK    _Optlink
  24.  #define GLUTAPIENTRY  _Optlink
  25.  #define GLUTCALLBACK  _Optlink
  26. #else
  27.  #define GLAPIENTRY    APIENTRY
  28.  #define GLCALLBACK    APIENTRY
  29.  #define GLUTAPIENTRY  APIENTRY
  30.  #define GLUTCALLBACK  APIENTRY
  31. #endif
  32.  
  33. #define GLCALLBACKP *
  34. #define GLCALLBACKPCAST *
  35. #define GLWINAPI
  36. #define GLWINAPIV
  37.  
  38. #define GLAPI extern
  39.  
  40.  
  41. #endif
  42.    //__os2_mesa_config_h__