This is the mail archive of the
pthreads-win32@sources.redhat.com
mailing list for the pthreas-win32 project.
[PATCH] - define HAVE_STRUCT_TIMESPEC in pthread.h
- From: Bard Jason A NPRI <BardJA at Npt dot NUWC dot Navy dot Mil>
- To: "'pthreads-win32 at sources dot redhat dot com'" <pthreads-win32 at sources dot redhat dot com>
- Date: Fri, 25 Jun 2004 10:36:10 -0400
- Subject: [PATCH] - define HAVE_STRUCT_TIMESPEC in pthread.h
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;