(Libretro.h) Prevent mass amount of warnings due to 'attribute visibility'

This commit is contained in:
twinaphex 2015-06-02 17:55:34 +02:00
parent 43448e6081
commit 0825aa8ae3

View File

@ -69,7 +69,7 @@ extern "C" {
# endif
# endif
# else
# if defined(__GNUC__) && __GNUC__ >= 4
# if defined(__GNUC__) && __GNUC__ >= 4 && !defined(__CELLOS_LV2__)
# define RETRO_API RETRO_CALLCONV __attribute__((visibility("default")))
# else
# define RETRO_API RETRO_CALLCONV