]> git.jsancho.org Git - lugaru.git/blobdiff - Source/binio.h
Remove some extra declarations of "channels"
[lugaru.git] / Source / binio.h
index 7ec08e555a99c66b23fdde39862a911549edcc9c..71016ed9f044eedfa09b569dfa419c2ec212cae5 100644 (file)
@@ -109,6 +109,12 @@ extern "C" {
        extern void vsunpackf(const void *buffer, const char *format, va_list args);
        extern void vfunpackf(FILE       *file,   const char *format, va_list args);
 
+#ifdef _MSC_VER
+    #ifndef va_copy
+        #define va_copy(dest,src) do { dest = src; } while (0)
+    #endif
+#endif
+
 #if defined(__cplusplus)
 }
 #endif