summaryrefslogtreecommitdiff
path: root/games/warmux/files/patch-lib__fixedpoint__fixed_class.h
blob: a7fe474c3920ef39f920b0bf9d195a080f96ebe0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- ./lib/fixedpoint/fixed_class.h.orig	2010-04-18 21:42:49.000000000 +0400
+++ ./lib/fixedpoint/fixed_class.h	2010-04-24 14:38:36.456848203 +0400
@@ -50,6 +50,12 @@
 #ifdef __APPLE__
   #define SIZE_T_FIXEDPOINT_METHODS
 #endif
+
+#ifdef __FreeBSD__
+  #include <machine/elf.h>
+  #define __WORDSIZE __ELF_WORD_SIZE
+#endif
+
 #if __WORDSIZE == 64
   #define SIZE_T_FIXEDPOINT_METHODS
 #endif