1#ifndef __khrplatform_h_
2#define __khrplatform_h_
98#if defined(_WIN32) && !defined(__SCITECH_SNAP__)
99# define KHRONOS_APICALL __declspec(dllimport)
100#elif defined (__SYMBIAN32__)
101# define KHRONOS_APICALL IMPORT_C
102#elif defined(__ANDROID__)
103# define KHRONOS_APICALL __attribute__((visibility("default")))
105# define KHRONOS_APICALL
114#if defined(_WIN32) && !defined(_WIN32_WCE) && !defined(__SCITECH_SNAP__)
116# define KHRONOS_APIENTRY __stdcall
118# define KHRONOS_APIENTRY
126#if defined (__ARMCC_2__)
127#define KHRONOS_APIATTRIBUTES __softfp
129#define KHRONOS_APIATTRIBUTES
135#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || defined(__GNUC__) || defined(__SCO__) || defined(__USLC__)
146#define KHRONOS_SUPPORT_INT64 1
147#define KHRONOS_SUPPORT_FLOAT 1
149#elif defined(__VMS ) || defined(__sgi)
159#define KHRONOS_SUPPORT_INT64 1
160#define KHRONOS_SUPPORT_FLOAT 1
162#elif defined(_WIN32) && !defined(__SCITECH_SNAP__)
171#define KHRONOS_SUPPORT_INT64 1
172#define KHRONOS_SUPPORT_FLOAT 1
174#elif defined(__sun__) || defined(__digital__)
181#if defined(__arch64__) || defined(_LP64)
188#define KHRONOS_SUPPORT_INT64 1
189#define KHRONOS_SUPPORT_FLOAT 1
198#define KHRONOS_SUPPORT_INT64 0
199#define KHRONOS_SUPPORT_FLOAT 0
211#define KHRONOS_SUPPORT_INT64 1
212#define KHRONOS_SUPPORT_FLOAT 1
242#if KHRONOS_SUPPORT_FLOAT
249#if KHRONOS_SUPPORT_INT64
266#ifndef KHRONOS_MAX_ENUM
267#define KHRONOS_MAX_ENUM 0x7FFFFFFF
uint64_t khronos_uint64_t
unsigned __int64 uint64_t