More accuracy platform-compiler definitions

This commit is contained in:
Stas Degteff 2010-03-05 14:28:42 +00:00
parent 1a3d650ba0
commit 36ea6c3ec4

View File

@ -63,6 +63,11 @@
#endif #endif
#endif #endif
#if !defined(__UNIX__)
#if defined(unix) || defined(__unix__) || defined(__unix)
#define __UNIX__
#endif
#endif
#if !defined(__UNIX__) #if !defined(__UNIX__)
#if defined(__linux__) #if defined(__linux__)
#define __UNIX__ __linux__ #define __UNIX__ __linux__