egl/main: drop the declaration of PUBLIC keyword.
authorEmil Velikov <emil.l.velikov@gmail.com>
Sat, 28 Feb 2015 16:51:21 +0000 (16:51 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 5 Mar 2015 14:45:54 +0000 (14:45 +0000)
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>
src/egl/main/eglcompiler.h

index f5fb86931017629609eefb9621feec19dc99e801..ffd327ad1b770c9ca31891c58a0c9c1d9dbbd50f 100644 (file)
 #  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)]); \