egl/eglinterface/include/khrplatform.h
branchGCC_SURGE
changeset 101 8b609b439da2
parent 99 ac1910f6e7cb
equal deleted inserted replaced
100:16dccf7ef352 101:8b609b439da2
    93 
    93 
    94 #if defined(AEE_SIMULATOR)
    94 #if defined(AEE_SIMULATOR)
    95 #define __KHR_EXPORTS
    95 #define __KHR_EXPORTS
    96 #endif
    96 #endif
    97 
    97 
    98 #if defined(_WIN32) || defined(__VC32__) || defined(__MWERKS__) || defined(__CW32__)         /* Win32 */
    98 #ifdef __KHR_EXPORTS
    99 #   ifdef __KHR_EXPORTS
    99 #define KHRONOS_APICALL  EXPORT_C
   100 #       define KHRONOS_APICALL __declspec(dllexport)
       
   101 #   else
       
   102 #       define KHRONOS_APICALL __declspec(dllexport)
       
   103 #   endif
       
   104 #else
   100 #else
   105 #   if defined (__ARMCC_VERSION)
   101 #define KHRONOS_APICALL  IMPORT_C
   106 #       if (__ARMCC_VERSION <= 310000) || (__ARMCC_VERSION >= 400000)
       
   107 #          ifdef __KHR_EXPORTS
       
   108 #            define KHRONOS_APICALL __declspec(dllexport)
       
   109 #          else
       
   110 #            define KHRONOS_APICALL __declspec(dllimport)
       
   111 #          endif
       
   112 #       else
       
   113 #         define KHRONOS_APICALL __declspec(dllimport)
       
   114 #       endif
       
   115 #   else
       
   116 #       ifdef __KHR_EXPORTS
       
   117 #           define KHRONOS_APICALL
       
   118 #       else
       
   119 #           define KHRONOS_APICALL extern
       
   120 #       endif
       
   121 #   endif
       
   122 #endif
   102 #endif
   123 
   103 
   124 #define KHRONOS_APIENTRY
   104 #define KHRONOS_APIENTRY
   125 
   105 
   126 #ifndef APIENTRY
   106 #ifndef APIENTRY