Hi all,

I just committed a patch that enables test_headers.c to compile with
current mingw32ce. This is useful for mingw/include header testing.

Cheers,
Pedro Alves

---

2006-10-22  Pedro Alves  <[EMAIL PROTECTED]>

   * test_headers.c: Adapt to __COREDLL__.

Index: test_headers.c
===================================================================
--- test_headers.c      (revisão 747)
+++ test_headers.c      (cópia de trabalho)
@@ -1,20 +1,28 @@
 #include <_mingw.h>
 #include <assert.h>
+#ifndef __COREDLL__
 #include <conio.h>
+#endif
 #include <ctype.h>
+#ifndef __COREDLL__
 #include <dir.h>
 #include <direct.h>
 #include <dirent.h>
 #include <dos.h>
 #include <errno.h>
+#endif
 #include <excpt.h>
+#ifndef __COREDLL__
 #include <fcntl.h>
+#endif
 #include <fenv.h>
 #include <float.h>
 #include <inttypes.h>
 #include <io.h>
 #include <limits.h>
+#ifndef __COREDLL__
 #include <locale.h>
+#endif
 #include <malloc.h>
 #include <math.h>
 #include <mbctype.h>
@@ -25,7 +33,9 @@
 #include <search.h>
 #include <setjmp.h>
 #include <share.h>
+#ifndef __COREDLL__
 #include <signal.h>
+#endif
 #include <stdarg.h>
 #include <stddef.h>
 #include <stdint.h>
@@ -35,12 +45,16 @@
 #include <strings.h>
 #include <tchar.h>
 #include <time.h>
+#ifndef __COREDLL__
 #include <unistd.h>
+#endif
 #include <values.h>
 #include <wchar.h>
 #include <wctype.h>
+#ifndef __COREDLL__
 #include <sys/fcntl.h>
 #include <sys/file.h>
+#endif
 #include <sys/locking.h>
 #include <sys/param.h>
 #include <sys/stat.h>
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Cegcc-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to