aboutsummaryrefslogtreecommitdiffstats
path: root/misc/dartsim/files/patch-dart_common_Platform.hpp
blob: e530e71e05b36c5c034d94023d664ef3dae3f864 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- dart/common/Platform.hpp.orig	2021-11-04 20:43:53 UTC
+++ dart/common/Platform.hpp
@@ -43,6 +43,15 @@
     #define DART_ARCH_32BITS 1
   #endif
 
+#elif defined(__FreeBSD__)
+
+#define DART_OS_FREEBSD      1
+#if __x86_64__ || __ppc64__
+#define DART_ARCH_64BITS   1
+#else
+#define DART_ARCH_32BITS   1
+#endif
+
 #elif defined(__APPLE__)
 
   #define DART_OS_MACOS 1