projects
/
laserbrain_demo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed reflections in VR
[laserbrain_demo]
/
src
/
image.cc
diff --git
a/src/image.cc
b/src/image.cc
index
e79073d
..
57817ca
100644
(file)
--- a/
src/image.cc
+++ b/
src/image.cc
@@
-1,9
+1,9
@@
#include <string.h>
#include <string.h>
-#ifndef _MSC_VER
-#include <alloca.h>
-#else
+#if defined(WIN32) || defined(__WIN32__)
#include <malloc.h>
#include <malloc.h>
+#else
+#include <alloca.h>
#endif
#include "imago2.h"
#endif
#include "imago2.h"