diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-09-17 20:24:25 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-09-17 20:24:25 +0200 |
commit | f159fc2b84d2c7139c348d167c7491fb43fb7e5e (patch) | |
tree | 40e8bf94413991626116e59d9a127542d38ac6e6 /compat | |
parent | 5066045c9ba532aae151a2176a0afdb8bd2fcdfc (diff) |
proto-wine: fix warnings, dependencies, reformat
Diffstat (limited to 'compat')
-rw-r--r-- | compat/compat.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/compat/compat.h b/compat/compat.h index c34add10..3d54ae1d 100644 --- a/compat/compat.h +++ b/compat/compat.h @@ -19,10 +19,14 @@ #include <sys/types.h> #endif -#if defined(IN_FTNOIR_COMPAT) && defined(_WIN32) -# define COMPAT_EXPORT __declspec(dllexport) -#elif defined(_WIN32) -# define COMPAT_EXPORT __declspec(dllimport) +#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 +# endif #else # define COMPAT_EXPORT #endif |