More accuracy platform-compiler definitions

This commit is contained in:
Stas Degteff 2010-03-05 14:17:48 +00:00
parent cd2a9c1fab
commit 1a3d650ba0

View File

@ -73,12 +73,18 @@
#if defined(__OpenBSD__)
#define __UNIX__ __OpenBSD__
#endif
#if defined(__DragonFly__)
#define __UNIX__ __DragonFly__
#endif
#if defined(__BEOS__)
#define __UNIX__ __BEOS__
#endif
#if defined(__QNXNTO__)
#define __UNIX__ __QNXNTO__
#endif
#if defined(__APPLE__)
#define __UNIX__ __APPLE__
#endif
#endif
#ifdef __GNUC__