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:

committed by
Kristian Høgsberg

parent
ae44b92f61
commit
897cb8950a
@@ -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);
|
||||
|
Reference in New Issue
Block a user