summaryrefslogtreecommitdiffhomepage
path: root/compat/compat.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-10-19 21:59:09 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-10-19 21:59:09 +0200
commit709dac6140502566fac4156b83b998895dc07377 (patch)
tree9fbab707da7baba8e3268960eee2458e2bc6a709 /compat/compat.h
parentdd87370ff2818ee3c3d67ba104405b85ee44daba (diff)
fix link errors on win32 -only-
Diffstat (limited to 'compat/compat.h')
-rw-r--r--compat/compat.h14
1 files changed, 1 insertions, 13 deletions
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 <sys/types.h>
#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();