ossp-pkg/uuid/uuid_time.h 1.1 -> 1.2
--- uuid_time.h 2008/02/21 08:58:45 1.1
+++ uuid_time.h 2008/02/21 15:34:51 1.2
@@ -44,8 +44,10 @@
#include <sys/types.h>
#endif
-#if defined(WIN32)
-struct timeval { long tv_sec; long tv_usec; };
+#ifndef HAVE_STRUCT_TIMEVAL
+struct timeval { long tv_sec; long tv_usec; };
+#endif
+#ifndef HAVE_STRUCT_TIMEZONE
struct timezone { int tz_minuteswest; int tz_dsttime; };
#endif
|
|