[svn:parrot] r39873 - trunk/include/parrot

fperrad at svn.parrot.org fperrad at svn.parrot.org
Sat Jul 4 10:58:14 UTC 2009


Author: fperrad
Date: Sat Jul  4 10:58:12 2009
New Revision: 39873
URL: https://trac.parrot.org/parrot/changeset/39873

Log:
[build] MinGW gcc 4.4.0
with this version, a include pthread.h is supplied,
which defines struct timespec with a guard named HAVE_STRUCT_TIMESPEC.
So, rename the guard in thr_windows.h

Modified:
   trunk/include/parrot/thr_windows.h

Modified: trunk/include/parrot/thr_windows.h
==============================================================================
--- trunk/include/parrot/thr_windows.h	Fri Jul  3 23:04:29 2009	(r39872)
+++ trunk/include/parrot/thr_windows.h	Sat Jul  4 10:58:12 2009	(r39873)
@@ -123,13 +123,13 @@
 
 typedef void (*Cleanup_Handler)(void *);
 
-#ifndef _STRUCT_TIMESPEC
-#  define _STRUCT_TIMESPEC
+#ifndef HAVE_STRUCT_TIMESPEC
+#  define HAVE_STRUCT_TIMESPEC
 struct timespec {
     time_t tv_sec;
     long tv_nsec;
 };
-#endif /* _STRUCT_TIMESPEC */
+#endif /* HAVE_STRUCT_TIMESPEC */
 
 #  undef CONST
 


More information about the parrot-commits mailing list