summaryrefslogtreecommitdiff
path: root/math/ogdf/files/patch-include_ogdf_internal_basic_config.h
blob: 8341704339954f336a3b3419cb50354b34f327d5 (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
--- include/ogdf/internal/basic/config.h.orig	2015-05-29 15:36:28 UTC
+++ include/ogdf/internal/basic/config.h
@@ -95,6 +95,11 @@ using std::string;
 #define OGDF_SYSTEM_OSX
 #endif
 
+// Note: FreeBSD machines will be both OGDF_SYSTEM_UNIX and OGDF_SYSTEM_OSX
+#if defined(__FreeBSD__) || defined(__DragonFly__)
+#define OGDF_SYSTEM_FREEBSD
+#endif
+
 
 // COIN and ABACUS
 #if defined(USE_COIN)
@@ -124,7 +129,7 @@ using std::string;
 // C++ standard
 //---------------------------------------------------------
 
-#if __cplusplus >= 201103
+#if __cplusplus >= 201103L
 #define OGDF_HAVE_CPP11
 
 #elif defined(_MSC_VER)