semi-ported to msys2
[laserbrain_demo] / src / image.cc
index e79073d..57817ca 100644 (file)
@@ -1,9 +1,9 @@
 #include <string.h>
 
-#ifndef _MSC_VER
-#include <alloca.h>
-#else
+#if defined(WIN32) || defined(__WIN32__)
 #include <malloc.h>
+#else
+#include <alloca.h>
 #endif
 
 #include "imago2.h"