freebsd-ports/misc/dartsim/files/patch-dart_common_Platform.hpp
Yuri Victorovich 2a36fc3e76 misc/dartsim: Update 6.9.5 -> 6.11.0
Reported by:	portscout
2021-07-18 17:49:19 -07:00

18 lines
373 B
C++

--- dart/common/Platform.hpp.orig 2021-07-15 08:12:45 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