blob: b71877da846129a9e5c6a5345875127e773c832b (
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
24
25
|
--- src/TypeDefs.hpp.orig 2015-04-06 10:28:07 UTC
+++ src/TypeDefs.hpp
@@ -57,16 +57,18 @@ extern bool g_bDebug; // Declared in
//**************************************************************************************************
// Type definitions
-//typedef unsigned long ulong;
-//typedef unsigned int uint;
-//typedef unsigned char uchar;
+#ifdef __BSD__
+typedef unsigned long ulong;
+typedef unsigned int uint;
+typedef unsigned char uchar;
+#endif
typedef wxStaticText wxLabel;
//**************************************************************************************************
// Operating System specific macro declarations
-#ifdef __WXOSX__
+#if defined(__WXOSX__) || defined(__BSD__)
#define EXP10(X) pow(10.0,X)
#define EXP10F(X) powf(10.0,X)
#else
|