Commit ce350ddd authored by arvi's avatar arvi
Browse files

Mac OSX support seems to work now

parent d0957cce
......@@ -22,11 +22,14 @@
#endif
#if defined (unix) && !defined (UNIX) // gcc 3.x / 2.95 for Solaris
// #pragma message("UNIX and Solaris");
#define UNIX
#endif
#if defined (macintosh) && !defined (MAC) // CodeWarrior 6|8
// #pragma message("Codewarrior macintosh");
#define MAC
//#define UNIX
#endif
#if defined (_UNICODE) && !defined (UNICODE)
......@@ -37,9 +40,11 @@
#endif
#if defined (WIN32CE)
// #pragma message("WIN32CE block")
#include <windows.h>
#include <stdio.h>
#elif defined (WIN32)
// #pragma message("WIN32 block")
#include <windows.h>
#include <stdio.h>
#include <math.h>
......@@ -54,7 +59,9 @@
#define WINRT
#endif
#endif
#elif defined (UNIX)
#else
//#elif defined (UNIX)
#pragma message("UNIX block")
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
......@@ -66,16 +73,17 @@
#include <signal.h>
#include <dlfcn.h>
#include <sys/time.h>
#elif defined (MAC)
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <ctype.h>
#include <wchar.h>
#include <dlfcn.h>
#else
#error Only Win32(CE), Unix and Mac are currently supported.
//#elif defined (MAC)
// #pragma message("MAC block")
// #include <stdio.h>
// #include <stdlib.h>
// #include <stdarg.h>
// #include <string.h>
// #include <ctype.h>
// #include <wchar.h>
// #include <dlfcn.h>
//#else
// #error Only Win32(CE), Unix and Mac are currently supported.
#endif
#if (_MSC_VER >= 1600) || defined (__GXX_EXPERIMENTAL_CXX0X__)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment