summaryrefslogtreecommitdiffstats
path: root/src/egl/main/eglcompiler.h
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2015-02-28 17:14:31 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2015-03-05 14:45:54 +0000
commitd1fbea038b29579a578ff4e1babbce8c39365d36 (patch)
tree1d737d63af02ab9b38b61270734436a751bef408 /src/egl/main/eglcompiler.h
parentbf0e4d219a8cf396402b46c265eb35afd22a676d (diff)
downloadexternal_mesa3d-d1fbea038b29579a578ff4e1babbce8c39365d36.zip
external_mesa3d-d1fbea038b29579a578ff4e1babbce8c39365d36.tar.gz
external_mesa3d-d1fbea038b29579a578ff4e1babbce8c39365d36.tar.bz2
egl/main: remove no-longer needed definition of stdint types
All the users directly include the header, plus we have a in-tree replacements for non C99 compilers which we already use. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/egl/main/eglcompiler.h')
-rw-r--r--src/egl/main/eglcompiler.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/src/egl/main/eglcompiler.h b/src/egl/main/eglcompiler.h
index ffd327a..b457a40 100644
--- a/src/egl/main/eglcompiler.h
+++ b/src/egl/main/eglcompiler.h
@@ -30,38 +30,6 @@
#ifndef EGLCOMPILER_INCLUDED
#define EGLCOMPILER_INCLUDED
-
-/**
- * Get standard integer types
- */
-#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || \
- (defined(_MSC_VER) && _MSC_VER >= 1600)
-# include <stdint.h>
-#elif defined(_MSC_VER)
- typedef __int8 int8_t;
- typedef unsigned __int8 uint8_t;
- typedef __int16 int16_t;
- typedef unsigned __int16 uint16_t;
- typedef __int32 int32_t;
- typedef unsigned __int32 uint32_t;
- typedef __int64 int64_t;
- typedef unsigned __int64 uint64_t;
-
-# if defined(_WIN64)
- typedef __int64 intptr_t;
- typedef unsigned __int64 uintptr_t;
-# else
- typedef __int32 intptr_t;
- typedef unsigned __int32 uintptr_t;
-# endif
-
-# define INT64_C(__val) __val##i64
-# define UINT64_C(__val) __val##ui64
-#else
-/* hope the best instead of adding a bunch of ifdef's */
-# include <stdint.h>
-#endif
-
#define STATIC_ASSERT(COND) \
do { \
(void) sizeof(char [1 - 2*!(COND)]); \