1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00
freebsd-ports/games/spring/files/patch-rts-lib-gml-gmlcls.h
Dmitry Marakasov f6fe2fbcf3 - Update to 0.82.5.1
- Add patch to remove unit pieces that don't render correctly
2010-09-23 00:26:55 +00:00

21 lines
679 B
C

--- ./rts/lib/gml/gmlcls.h.orig 2010-09-06 16:16:18.000000000 +0400
+++ ./rts/lib/gml/gmlcls.h 2010-09-15 23:36:35.000000000 +0400
@@ -60,7 +60,7 @@
//#define BOOST_AC_USE_PTHREADS
// memory barriers for different platforms
-#if defined(__APPLE__) || defined(__FreeBSD__)
+#if defined(__APPLE__)
# include <libkern/OSAtomic.h>
# define GML_MEMBAR OSMemoryBarrier()
#elif defined(__GNUC__)
@@ -112,7 +112,7 @@
# define GML_TYPENAME
#endif
-#ifndef _WIN32 //defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__)
+#if defined(__linux__) || defined(__APPLE__)
# define GML_USE_SPEEDY_TLS 1
# include "System/Platform/errorhandler.h"
# include "speedy-tls.h"