1#ifndef __khrplatform_h_
2#define __khrplatform_h_
93#if defined(__SCITECH_SNAP__) && !defined(KHRONOS_STATIC)
94# define KHRONOS_STATIC 1
102#if defined(KHRONOS_STATIC)
105# define KHRONOS_APICALL
107# define KHRONOS_APICALL __declspec(dllimport)
108#elif defined (__SYMBIAN32__)
109# define KHRONOS_APICALL IMPORT_C
110#elif defined(__ANDROID__)
111# define KHRONOS_APICALL __attribute__((visibility("default")))
113# define KHRONOS_APICALL
122#if defined(_WIN32) && !defined(_WIN32_WCE) && !defined(__SCITECH_SNAP__)
124# define KHRONOS_APIENTRY __stdcall
126# define KHRONOS_APIENTRY
134#if defined (__ARMCC_2__)
135#define KHRONOS_APIATTRIBUTES __softfp
137#define KHRONOS_APIATTRIBUTES
143#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || defined(__GNUC__) || defined(__SCO__) || defined(__USLC__)
154#define KHRONOS_SUPPORT_INT64 1
155#define KHRONOS_SUPPORT_FLOAT 1
165#if defined(__SIZEOF_LONG__) && defined(__SIZEOF_POINTER__)
166#if __SIZEOF_POINTER__ > __SIZEOF_LONG__
167#define KHRONOS_USE_INTPTR_T
171#elif defined(__VMS ) || defined(__sgi)
181#define KHRONOS_SUPPORT_INT64 1
182#define KHRONOS_SUPPORT_FLOAT 1
184#elif defined(_WIN32) && !defined(__SCITECH_SNAP__)
193#define KHRONOS_SUPPORT_INT64 1
194#define KHRONOS_SUPPORT_FLOAT 1
196#elif defined(__sun__) || defined(__digital__)
203#if defined(__arch64__) || defined(_LP64)
210#define KHRONOS_SUPPORT_INT64 1
211#define KHRONOS_SUPPORT_FLOAT 1
220#define KHRONOS_SUPPORT_INT64 0
221#define KHRONOS_SUPPORT_FLOAT 0
233#define KHRONOS_SUPPORT_INT64 1
234#define KHRONOS_SUPPORT_FLOAT 1
252#ifdef KHRONOS_USE_INTPTR_T
271#if KHRONOS_SUPPORT_FLOAT
278#if KHRONOS_SUPPORT_INT64
295#ifndef KHRONOS_MAX_ENUM
296#define KHRONOS_MAX_ENUM 0x7FFFFFFF
unsigned int uint32_t
Definition: wposix_types.h:53
long long int64_t
Definition: wposix_types.h:48
unsigned long long uint64_t
Definition: wposix_types.h:57