summaryrefslogtreecommitdiffstats
path: root/src/jogl
diff options
context:
space:
mode:
Diffstat (limited to 'src/jogl')
-rw-r--r--src/jogl/native/openmax/omx_tool.h19
1 files changed, 2 insertions, 17 deletions
diff --git a/src/jogl/native/openmax/omx_tool.h b/src/jogl/native/openmax/omx_tool.h
index dbc375dd7..d566507c1 100644
--- a/src/jogl/native/openmax/omx_tool.h
+++ b/src/jogl/native/openmax/omx_tool.h
@@ -10,25 +10,10 @@
// __declspec(dllimport) void __stdcall Sleep(unsigned long dwMilliseconds);
#define usleep(t) Sleep((t) / 1000)
-
- #ifdef _MSC_VER
- /* This typedef is apparently needed for Microsoft compilers before VC8,
- and on Windows CE */
- #if !defined(__MINGW64__) && ( defined(UNDER_CE) || _MSC_VER <= 1400 )
- #ifdef _WIN64
- typedef long long intptr_t;
- #else
- typedef int intptr_t;
- #endif
- #endif
- #else
- #include <inttypes.h>
- #endif
-#else
- #include <unistd.h>
- #include <inttypes.h>
#endif
+#include <gluegen_stdint.h>
+
#include <OMX_Core.h>
#include <OMX_Component.h>
#include <OMX_Index.h>