From 709dac6140502566fac4156b83b998895dc07377 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 19 Oct 2014 21:59:09 +0200 Subject: fix link errors on win32 -only- --- compat/compat.cpp | 1 - compat/compat.h | 14 +------------- 2 files changed, 1 insertion(+), 14 deletions(-) (limited to 'compat') diff --git a/compat/compat.cpp b/compat/compat.cpp index b5d63f2b..9000b453 100644 --- a/compat/compat.cpp +++ b/compat/compat.cpp @@ -6,7 +6,6 @@ */ #include -#define IN_FTNOIR_COMPAT #include "compat.h" #if defined(_WIN32) diff --git a/compat/compat.h b/compat/compat.h index 490d8913..17a0d843 100644 --- a/compat/compat.h +++ b/compat/compat.h @@ -19,19 +19,7 @@ #include #endif -#if !defined(OPENTRACK_COMPAT_BUNDLED) -# if defined(IN_FTNOIR_COMPAT) && defined(_WIN32) -# define COMPAT_EXPORT __declspec(dllexport) -# elif defined(_WIN32) -# define COMPAT_EXPORT __declspec(dllimport) -# else -# define COMPAT_EXPORT __attribute__ ((visibility ("default"))) -# endif -#else -# define COMPAT_EXPORT -#endif - -class COMPAT_EXPORT PortableLockedShm { +class PortableLockedShm { public: PortableLockedShm(const char *shmName, const char *mutexName, int mapSize); ~PortableLockedShm(); -- cgit v1.2.3