summaryrefslogtreecommitdiff
path: root/cad/freecad/files/patch-src_FCConfig.h
blob: b0092e5da6879f82fb74fb50efca5cb5c9c5304d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--- ./src/FCConfig.h.orig	Sat Feb 24 11:44:55 2007
+++ ./src/FCConfig.h	Sun Apr 22 22:02:51 2007
@@ -71,8 +71,10 @@
 //#	endif
 //#elif defined(hpux) || defined(__hpux) || defined(__hpux__)
 //#	define FC_OS_HPUX_
-//#elif defined(__FreeBSD__)
-//#	define FC_OS_FREEBSD
+#elif defined(__FreeBSD__)
+#	ifndef FC_OS_FREEBSD
+#	define FC_OS_FREEBSD
+#	endif
 //#elif defined(__NetBSD__)
 //#	define FC_OS_NETBSD
 //#elif defined(__OpenBSD__)
@@ -159,6 +161,11 @@
 #	define _WINDOWS
 #	endif
 #endif
+
+#ifdef FC_OS_FREEBSD
+#	define FREEBSD
+#endif
+
 
 #ifdef FC_OS_LINUX
 #	define LIN