[PATCH] - define HAVE_STRUCT_TIMESPEC in pthread.h
Bard Jason A NPRI
BardJA@Npt.NUWC.Navy.Mil
Fri Jun 25 14:36:00 GMT 2004
Would like to add this to prevent redefinition errors if defined elsewhere in project.
I am not a member of this list so I would appreciate being CC'd on any relavent emails. Also please let me know if you need the patch is some different format. Thanks!
Jason Bard
Naval Undersea Warfare Center
Newport, RI 02840
401-832-3238
--- ../../pthreads/pthread.h 2003-09-12 09:18:06.000000000 -0400
+++ ./pthread.h 2004-06-25 10:14:23.265625000 -0400
@@ -268,6 +268,7 @@
#endif /* PTW32_LEVEL >= PTW32_LEVEL_MAX */
#ifndef HAVE_STRUCT_TIMESPEC
+#define HAVE_STRUCT_TIMESPEC 1
struct timespec {
long tv_sec;
long tv_nsec;
More information about the Pthreads-win32
mailing list