public inbox for pthreads-win32@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] - define HAVE_STRUCT_TIMESPEC in pthread.h
@ 2004-06-25 14:36 Bard Jason A NPRI
  0 siblings, 0 replies; only message in thread
From: Bard Jason A NPRI @ 2004-06-25 14:36 UTC (permalink / raw)
  To: 'pthreads-win32@sources.redhat.com'

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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-06-25 14:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-25 14:36 [PATCH] - define HAVE_STRUCT_TIMESPEC in pthread.h Bard Jason A NPRI

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).