This is the mail archive of the pthreads-win32@sources.redhat.com mailing list for the pthreas-win32 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]