gnugo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnugo-devel] hash.h: cygwin has no <stdint.h>


From: Teun Burgers
Subject: [gnugo-devel] hash.h: cygwin has no <stdint.h>
Date: Tue, 05 Aug 2003 21:42:35 +0200

The subject says it, fixed by this patch.

I am not sure how many OSses lack an <stdint.h> and
whether we need a configure test for this.

Teun

- on cygwin use <sys/types.h> in stead of <stdint.h>

diff -u -r1.14 hash.h
--- hash.h      4 Aug 2003 23:49:18 -0000       1.14
+++ hash.h      5 Aug 2003 19:36:56 -0000
@@ -21,7 +21,11 @@
 \* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
 
 #include <stdio.h>
+#ifdef __CYGWIN__
+#include <sys/types.h>
+#else
 #include <stdint.h>
+#endif
 #include "gnugo.h"
 
 /*




reply via email to

[Prev in Thread] Current Thread [Next in Thread]