[svn:parrot] r38644 - trunk/config/auto/gmp

fperrad at svn.parrot.org fperrad at svn.parrot.org
Sat May 9 14:53:36 UTC 2009


Author: fperrad
Date: Sat May  9 14:53:36 2009
New Revision: 38644
URL: https://trac.parrot.org/parrot/changeset/38644

Log:
[config] fix compilation on Windows

test_3020.c: In function `main':
test_3020.c:29: warning: implicit declaration of function `SetErrorMode'
test_3020.c:29: warning: nested extern declaration of `SetErrorMode'
test_3020.c:29: error: `SEM_NOGPFAULTERRORBOX' undeclared (first use in this function)
test_3020.c:29: error: (Each undeclared identifier is reported only once
test_3020.c:29: error: for each function it appears in.)

Modified:
   trunk/config/auto/gmp/gmp_c.in

Modified: trunk/config/auto/gmp/gmp_c.in
==============================================================================
--- trunk/config/auto/gmp/gmp_c.in	Sat May  9 14:03:59 2009	(r38643)
+++ trunk/config/auto/gmp/gmp_c.in	Sat May  9 14:53:36 2009	(r38644)
@@ -6,6 +6,9 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <gmp.h>
+#ifdef WIN32
+#include <windows.h>
+#endif
 
 int
 main(int argc, char *argv[])


More information about the parrot-commits mailing list