summaryrefslogtreecommitdiff
path: root/irmp/irmp-main-sharedlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'irmp/irmp-main-sharedlib.c')
-rw-r--r--irmp/irmp-main-sharedlib.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/irmp/irmp-main-sharedlib.c b/irmp/irmp-main-sharedlib.c
index 6f5c058..cbf239a 100644
--- a/irmp/irmp-main-sharedlib.c
+++ b/irmp/irmp-main-sharedlib.c
@@ -31,9 +31,13 @@
* upstream project.
*/
#if defined _WIN32
-# define WIN32
+# if !defined WIN32
+# define WIN32
+# endif
#else
-# define unix
+# if !defined unix
+# define unix
+# endif
#endif
#include "irmp.h"
#include "irmp.c"