Fix build for Dragonfly BSD

This commit is contained in:
Stas Degteff 2010-03-05 13:24:06 +00:00
parent 3ed52a25f7
commit cd2a9c1fab

View File

@ -114,6 +114,10 @@ typedef char TCHAR;
#define __UNIX__ #define __UNIX__
#endif #endif
#if defined(unix) || defined(__unix__) || defined(__unix)
#define __UNIX__
#endif
#ifdef __UNIX__ #ifdef __UNIX__
#define NL "\r\n" #define NL "\r\n"
#else #else