summaryrefslogtreecommitdiff
path: root/include/ginclude.h
diff options
context:
space:
mode:
authorGary Scavone <gary@music.mcgill.ca>2007-12-04 20:09:57 +0000
committerStephen Sinclair <sinclair@music.mcgill.ca>2013-10-11 01:31:24 +0200
commitf6708f5edc4719fdc5a54cfcb11159d197dd6dcd (patch)
tree969690e2556b0d2429bcdf4aa0166961f597b524 /include/ginclude.h
parent1e492d19f956d99e3315a3600170d6f1d9869cab (diff)
Various configure changes for MinGW (gps).
Diffstat (limited to 'include/ginclude.h')
-rw-r--r--include/ginclude.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/include/ginclude.h b/include/ginclude.h
new file mode 100644
index 0000000..b627dc2
--- /dev/null
+++ b/include/ginclude.h
@@ -0,0 +1,38 @@
+#ifndef __gInclude__
+#define __gInclude__
+
+#if SGI
+ #undef BEOS
+ #undef MAC
+ #undef WINDOWS
+ //
+ #define ASIO_BIG_ENDIAN 1
+ #define ASIO_CPU_MIPS 1
+#elif defined WIN32
+ #undef BEOS
+ #undef MAC
+ #undef SGI
+ #define WINDOWS 1
+ #define ASIO_LITTLE_ENDIAN 1
+ #define ASIO_CPU_X86 1
+#elif BEOS
+ #undef MAC
+ #undef SGI
+ #undef WINDOWS
+ #define ASIO_LITTLE_ENDIAN 1
+ #define ASIO_CPU_X86 1
+ //
+#else
+ #define MAC 1
+ #undef BEOS
+ #undef WINDOWS
+ #undef SGI
+ #define ASIO_BIG_ENDIAN 1
+ #define ASIO_CPU_PPC 1
+#endif
+
+// always
+#define NATIVE_INT64 0
+#define IEEE754_64FLOAT 1
+
+#endif // __gInclude__