]> sourceware.org Git - newlib-cygwin.git/commitdiff
* libc/include/sys/time.h: Define timercmp and other macros for __CYGWIN__,
authorChristopher Faylor <me@cgf.cx>
Sat, 21 Apr 2001 03:22:47 +0000 (03:22 +0000)
committerChristopher Faylor <me@cgf.cx>
Sat, 21 Apr 2001 03:22:47 +0000 (03:22 +0000)
too.

newlib/ChangeLog
newlib/libc/include/sys/time.h

index acd41e5a2f5e152850e66ec28797b2d8f6106946..de33e6075b9fb16da035a5174f3f970f1fea26ae 100644 (file)
@@ -1,3 +1,8 @@
+Fri Apr 20 23:17:51 2001  Christopher Faylor <cgf@cygnus.com>
+
+       * libc/include/sys/time.h: Define timercmp and other macros for
+       __CYGWIN__, too.
+
 2001-04-20  Jeff Johnston  <jjohnstn@redhat.com>
        
        * acinclude.m4: Added --enable-malloc-debugging configure flag.
index 881998382eeed2be55c0549f909d5a3e89028fe2..20f2903c3884c6dd7334540c62967b70f190d50b 100644 (file)
@@ -39,7 +39,7 @@ struct  itimerval {
 };
 
 /* BSD time macros used by RTEMS code */
-#if defined(__rtems__)
+#if defined (__rtems__) || defined (__CYGWIN__)
 
 /* Convenience macros for operations on timevals.
    NOTE: `timercmp' does not work for >= or <=.  */
@@ -68,7 +68,7 @@ struct  itimerval {
       (result)->tv_usec += 1000000;                                          \
     }                                                                        \
   } while (0)
-#endif
+#endif /* defined (__rtems__) || defined (__CYGWIN__) */
 
 int _EXFUN(gettimeofday, (struct timeval *__p, struct timezone *__z));
 int _EXFUN(settimeofday, (const struct timeval *, const struct timezone *));
This page took 0.045279 seconds and 5 git commands to generate.