From 0825aa8ae3893c2d0293f5929fb43306afc0676f Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 2 Jun 2015 17:55:34 +0200 Subject: [PATCH] (Libretro.h) Prevent mass amount of warnings due to 'attribute visibility' --- libretro.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretro.h b/libretro.h index fa309f831f..591170ba4c 100755 --- a/libretro.h +++ b/libretro.h @@ -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