diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-10-19 04:13:27 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-10-19 04:13:27 +0000 |
commit | c856bf200f64502de6dc77d24f96040a4e42c7fe (patch) | |
tree | 9edb55bd32efb28fd263decc4f9732b7b48b40a9 /src/OSC-common.h | |
parent | d4feaf4ff76c78862a2bc54851f3ed1f7709bcdb (diff) |
fixed up to hopefully build on MinGW gcc 3.4.5 since currently it crashes gcc. I have to say this code is ugly, so its hard to blame gcc. Too many peole just doing quick fixes, and no one caring... I am also guilty as charged. But I did take a moment to remove some warnings
svn path=/trunk/externals/OSCx/; revision=6142
Diffstat (limited to 'src/OSC-common.h')
-rw-r--r-- | src/OSC-common.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/OSC-common.h b/src/OSC-common.h index 46c66a9..abea838 100644 --- a/src/OSC-common.h +++ b/src/OSC-common.h @@ -48,15 +48,19 @@ typedef int Boolean; #ifdef _WIN32 #include <stdio.h> + #ifdef _DEBUG + #define DEBUG + #endif +#endif /* _WIN32 */ + +/* only needed on Microsoft compilers */ +#ifdef _MSC_VER #ifdef OSC_EXPORTS #define OSC_API __declspec(dllexport) #else #define OSC_API __declspec(dllimport) #endif - #ifdef _DEBUG - #define DEBUG - #endif -#endif +#endif /* _MSC_VER */ //#define int32_t t_int |