projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Getting the "spaceball" demo to build properly in Windows
[freeglut]
/
progs
/
demos
/
Fractals_random
/
fractals_random.c
diff --git
a/progs/demos/Fractals_random/fractals_random.c
b/progs/demos/Fractals_random/fractals_random.c
index
3ab62c0
..
176013f
100644
(file)
--- a/
progs/demos/Fractals_random/fractals_random.c
+++ b/
progs/demos/Fractals_random/fractals_random.c
@@
-25,7
+25,7
@@
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
-#ifdef WIN32
+#ifdef _MSC_VER
/* DUMP MEMORY LEAKS */
#include <crtdbg.h>
#endif
/* DUMP MEMORY LEAKS */
#include <crtdbg.h>
#endif
@@
-378,7
+378,7
@@
main(int argc, char *argv[])
free ( affine ) ;
free ( affine ) ;
-#ifdef WIN32
+#ifdef _MSC_VER
/* DUMP MEMORY LEAK INFORMATION */
_CrtDumpMemoryLeaks () ;
#endif
/* DUMP MEMORY LEAK INFORMATION */
_CrtDumpMemoryLeaks () ;
#endif