From 405e16660cd4ec8df5e3bda954d54f8642cb0efb Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 22 Apr 2015 17:56:39 -0400 Subject: [PATCH] Fixed the remaining errors. --- new/unix/GNUmakeinc.mk | 2 ++ new/unix/uipriv_unix.h | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/new/unix/GNUmakeinc.mk b/new/unix/GNUmakeinc.mk index ecbee66a..89fcbf6c 100644 --- a/new/unix/GNUmakeinc.mk +++ b/new/unix/GNUmakeinc.mk @@ -8,7 +8,9 @@ osCFILES = \ osHFILES = \ unix/uipriv_unix.h +# thanks ebassi in irc.gimp.net/#gtk+ osCFLAGS = \ + -D_UI_EXTERN='__attribute__((visibility("default"))) extern' \ -fvisibility=hidden \ `pkg-config --cflags gtk+-3.0` diff --git a/new/unix/uipriv_unix.h b/new/unix/uipriv_unix.h index 8ae69be9..8edf243f 100644 --- a/new/unix/uipriv_unix.h +++ b/new/unix/uipriv_unix.h @@ -4,9 +4,6 @@ #define GDK_VERSION_MIN_REQUIRED GDK_VERSION_3_4 #define GDK_VERSION_MAX_ALLOWED GDK_VERSION_3_4 #include - -// thanks ebassi in irc.gimp.net/#gtk+ -#define _UI_EXTERN __attribute__((visibility("default"))) extern #include "../ui.h" #include "../ui_unix.h" #include "../uipriv.h"