summaryrefslogtreecommitdiffstats
path: root/src/egl
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2015-02-28 16:51:21 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2015-03-05 14:45:54 +0000
commit74c40b9b5676c836b3d6ea2ff32e3d1913a0e559 (patch)
tree4f6fe50454c78cb311f2534ca308ff6fc2ce4429 /src/egl
parentdd438ae34bdbaa6651cdd226d5fec15a892923bf (diff)
downloadexternal_mesa3d-74c40b9b5676c836b3d6ea2ff32e3d1913a0e559.zip
external_mesa3d-74c40b9b5676c836b3d6ea2ff32e3d1913a0e559.tar.gz
external_mesa3d-74c40b9b5676c836b3d6ea2ff32e3d1913a0e559.tar.bz2
egl/main: drop the declaration of PUBLIC keyword.
Should no longer be used. As many places indirectly include eglcompiler.h keep this change separate, so that it can be easily reverted, if needed. 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')
-rw-r--r--src/egl/main/eglcompiler.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/egl/main/eglcompiler.h b/src/egl/main/eglcompiler.h
index f5fb869..ffd327a 100644
--- a/src/egl/main/eglcompiler.h
+++ b/src/egl/main/eglcompiler.h
@@ -62,20 +62,6 @@
# include <stdint.h>
#endif
-
-/**
- * Function visibility
- */
-#ifndef PUBLIC
-# if defined(__GNUC__) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590))
-# define PUBLIC __attribute__((visibility("default")))
-# elif defined(_MSC_VER)
-# define PUBLIC __declspec(dllexport)
-# else
-# define PUBLIC
-# endif
-#endif
-
#define STATIC_ASSERT(COND) \
do { \
(void) sizeof(char [1 - 2*!(COND)]); \