From 6d196fd8683288fa5f29f6eddd28fb12a0a06c79 Mon Sep 17 00:00:00 2001 From: Georg Holzmann Date: Tue, 30 Aug 2005 20:54:05 +0000 Subject: changes by piotr majdak svn path=/trunk/externals/OSCx/; revision=3464 --- src/OSC-common.h | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'src/OSC-common.h') diff --git a/src/OSC-common.h b/src/OSC-common.h index 80ee70b..d457686 100644 --- a/src/OSC-common.h +++ b/src/OSC-common.h @@ -41,7 +41,21 @@ typedef int Boolean; #define TRUE 1 #define FALSE 0 #endif - + + +#ifdef WIN32 + #include + #ifdef OSC_EXPORTS + #define OSC_API __declspec(dllexport) + #else + #define OSC_API __declspec(dllimport) + #endif + #ifdef _DEBUG + #define DEBUG + #endif +#endif + +//#define int32_t t_int /* Fixed byte width types */ typedef int int4; /* 4 byte int */ @@ -57,4 +71,3 @@ void OSCProblem(char *s, ...); /* Warning for user */ void OSCWarning(char *s, ...); - -- cgit v1.2.1