summaryrefslogtreecommitdiff
path: root/src/port/sys_internal.h
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2009-02-28 12:26:42 +0100
committerAndreas Baumann <abaumann@yahoo.com>2009-02-28 12:26:42 +0100
commit9ea1274d7cd7bf6b475c4b0b76c972e932c17a9f (patch)
treec515eb1484b8eeb4b8f4859284ea9804d1f59cef /src/port/sys_internal.h
parent928fc83a6492e6ceaf7a46b888526e20bcd3a6dc (diff)
downloadwolfbones-9ea1274d7cd7bf6b475c4b0b76c972e932c17a9f.tar.gz
wolfbones-9ea1274d7cd7bf6b475c4b0b76c972e932c17a9f.tar.bz2
fixed generation of dependenies and added an empty sys_internal.h for internal porting flags
Diffstat (limited to 'src/port/sys_internal.h')
-rw-r--r--src/port/sys_internal.h68
1 files changed, 68 insertions, 0 deletions
diff --git a/src/port/sys_internal.h b/src/port/sys_internal.h
index 7583a4b..2443ee5 100644
--- a/src/port/sys_internal.h
+++ b/src/port/sys_internal.h
@@ -39,6 +39,74 @@
#endif /* defined OS_MAJOR_VERSION == 2 */
#endif /* defined LINUX */
+#if defined FREEBSD
+#if OS_MAJOR_VERSION == 7
+#if OS_MINOR_VERSION == 0
+#else
+ #error unknown platform
+#endif /* defined OS_MINOR_VERSION == 0 */
+#else
+#if OS_MAJOR_VERSION == 6
+#if OS_MINOR_VERSION == 2
+#else
+ #error unknown platform
+#endif /* defined OS_MINOR_VERSION == 2 */
+#else
+ #error unknown platform
+#endif /* defined OS_MAJOR_VERSION == 6 */
+#endif /* defined OS_MAJOR_VERSION == 7 */
+#endif /* defined FREEBSD */
+
+#if defined OPENBSD
+#if OS_MAJOR_VERSION == 4
+#if OS_MINOR_VERSION >= 2 && OS_MINOR_VERSION <= 3
+#else
+ #error unknown platform
+#endif /* defined OS_MINOR_VERSION >= 2 && OS_MINOR_VERSION <= 3 */
+#else
+ #error unknown platform
+#endif /* defined OS_MAJOR_VERSION == 4 */
+#endif /* defined OPENBSD */
+
+#if defined NETBSD
+#if OS_MAJOR_VERSION == 4
+#if OS_MINOR_VERSION == 0
+#else
+ #error unknown platform
+#endif /* defined OS_MINOR_VERSION == 2 */
+#else
+ #error unknown platform
+#endif /* defined OS_MAJOR_VERSION == 4 */
+#endif /* defined NETBSD */
+
+#if defined SUNOS
+#if OS_MAJOR_VERSION == 5
+#if OS_MINOR_VERSION == 8
+#else
+#if OS_MINOR_VERSION == 10
+#else
+ #error unknown platform
+#endif /* OS_MINOR_VERSION == 10 */
+#endif /* OS_MINOR_VERSION == 8 */
+#else
+ #error unknown platform
+#endif /* OS_MAJOR_VERSION == 5 */
+#endif /* defined SUNOS */
+
+#if defined CYGWIN
+#if OS_MAJOR_VERSION == 5
+#if OS_MINOR_VERSION >= 0 && OS_MINOR_VERSION <= 1
+#else
+ #error unknown platform
+#endif /* OS_MINOR_VERSION >= 0 && OS_MINOR_VERSON <= 1 */
+#else
+ #error unknown platform
+#endif /* OS_MAJOR_VERSION == 5 */
+#endif /* defined CYGWIN */
+
+#if defined _WIN32
+#endif /* defined _WIN32 */
+
#if defined __INTEL_COMPILER
#if( __INTEL_COMPILER >= 1100 )