summaryrefslogtreecommitdiffstats
path: root/make/stub_includes/common
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-11-09 02:42:03 +0100
committerSven Gothel <[email protected]>2010-11-09 02:42:03 +0100
commit7865b355bd52958f4b27e42b500e83c52255ef37 (patch)
treecdd887ede9b43f1a3d18527cf9eaabc9627946da /make/stub_includes/common
parent08a74fb5d45f29f4d77a2713d1ebca4343519eb0 (diff)
Gluegen: Types (stddef/stdint), Header and Predefined Macro Change
Read API doc ad GlueGen.java New predefined types: wchar_t, intptr_t, uintptr_t New reusable headers for gluegen usage: make/stub_includes/gluegen for native usage: make/stub_includes/platform New predefined macro #define __GLUEGEN__ 2
Diffstat (limited to 'make/stub_includes/common')
-rw-r--r--make/stub_includes/common/gluegenint.h42
1 files changed, 0 insertions, 42 deletions
diff --git a/make/stub_includes/common/gluegenint.h b/make/stub_includes/common/gluegenint.h
deleted file mode 100644
index 5fb4002..0000000
--- a/make/stub_includes/common/gluegenint.h
+++ /dev/null
@@ -1,42 +0,0 @@
-#ifndef __gluegen_int_h_
-#define __gluegen_int_h_
-
-#ifndef GLUEGEN_INT_TYPES_DEFINED
- #define GLUEGEN_INT_TYPES_DEFINED
- /* Define int32_t, int64_t, and uint64_t types for UST/MSC */
- /* (as used in the GL_EXT_timer_query extension). */
- #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
- #include <inttypes.h>
- #elif defined(__sun__)
- #include <inttypes.h>
- #if defined(__STDC__)
- #if defined(__arch64__)
- typedef long int int64_t;
- typedef unsigned long int uint64_t;
- #else
- typedef long long int int64_t;
- typedef unsigned long long int uint64_t;
- #endif /* __arch64__ */
- #endif /* __STDC__ */
- #elif defined( __VMS )
- #include <inttypes.h>
- #elif defined(__SCO__) || defined(__USLC__)
- #include <stdint.h>
- #elif defined(__UNIXOS2__) || defined(__SOL64__)
- typedef long int int32_t;
- typedef unsigned long int uint32_t;
- typedef long long int int64_t;
- typedef unsigned long long int uint64_t;
- #elif defined(WIN32) && defined(__GNUC__)
- #include <stdint.h>
- #elif defined(_WIN32)
- typedef __int32 int32_t;
- typedef unsigned __int32 uint32_t;
- typedef __int64 int64_t;
- typedef unsigned __int64 uint64_t;
- #else
- #include <inttypes.h> /* Fallback option */
- #endif
-#endif
-
-#endif /* __gluegen_int_h_ */