aboutsummaryrefslogtreecommitdiff
path: root/src/OSC-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/OSC-common.h')
-rw-r--r--src/OSC-common.h35
1 files changed, 21 insertions, 14 deletions
diff --git a/src/OSC-common.h b/src/OSC-common.h
index d457686..46c66a9 100644
--- a/src/OSC-common.h
+++ b/src/OSC-common.h
@@ -34,6 +34,9 @@ The OpenSound Control WWW page is
by Matt Wright, 3/13/98
*/
+#ifndef _OSC_COMMON_H
+#define _OSC_COMMON_H
+
/* Boolean type */
#ifndef TRUE
@@ -41,20 +44,20 @@ typedef int Boolean;
#define TRUE 1
#define FALSE 0
#endif
-
-
-#ifdef WIN32
- #include <stdio.h>
- #ifdef OSC_EXPORTS
- #define OSC_API __declspec(dllexport)
- #else
- #define OSC_API __declspec(dllimport)
- #endif
- #ifdef _DEBUG
- #define DEBUG
- #endif
-#endif
-
+
+
+#ifdef _WIN32
+ #include <stdio.h>
+ #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 */
@@ -71,3 +74,7 @@ void OSCProblem(char *s, ...);
/* Warning for user */
void OSCWarning(char *s, ...);
+
+
+#endif /* _OSC_COMMON_H */
+