egl: Fix breakage from -fvisibility=hidden.

Mark EGL API and driver functions as PUBLIC.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
This commit is contained in:
Chia-I Wu
2010-01-05 21:39:15 +08:00
committed by Kristian Høgsberg
parent ae44b92f61
commit 897cb8950a
12 changed files with 46 additions and 30 deletions

View File

@@ -18,6 +18,11 @@
#include <stdint.h>
#endif
#if defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__) >= 303
# define EGLAPI __attribute__((visibility("default")))
# define EGLAPIENTRY
#endif
/* Macros used in EGL function prototype declarations.
*
* EGLAPI return-type EGLAPIENTRY eglFunction(arguments);