Fix compilation on linux

Former-commit-id: e7ff20401c32d0f7752d03636b5034a3467bf498
This commit is contained in:
Youri Hubaut
2015-09-19 17:10:34 +02:00
parent 4176f1e019
commit a4032abe63
4 changed files with 5 additions and 4 deletions

View File

@@ -117,9 +117,10 @@
#define _WIN32_WINNT NAZARA_WINNT
#endif
#endif
#elif defined(__linux__)
#elif defined(__linux__) || defined(__unix__)
#define NAZARA_PLATFORM_LINUX
#define NAZARA_PLATFORM_POSIX
#define NAZARA_PLATFORM_X11
#define NAZARA_EXPORT __attribute__((visibility ("default")))
#define NAZARA_IMPORT __attribute__((visibility ("default")))