]> sigrok.org Git - libsigrokdecode.git/blobdiff - irmp/irmp-main-sharedlib.c
ir_irmp: wrapper lib, silence warnings in "Windows or Unix" condition
[libsigrokdecode.git] / irmp / irmp-main-sharedlib.c
index 6f5c0581ccef56d12829689d73f9cff2a3ea6f9e..cbf239a3341eab68975eb4f419a1856fb6bcecdb 100644 (file)
  * 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"