diff packages/compat/posix/current/tests/timer1.c @ 2085:96df14bb938f

* src/time.cxx: add gettimeofday() implementation * cdl/posix.cdl: make some descriptions a bit more verbose. move mutex.cxx into its own component (CYGPKG_POSIX_PTHREAD_MUTEX). move compilation of mqueue.cxx into the CYGPKG_POSIX_MQUEUES component. Fixed the tests so that only the ones which stand a chance of compling are compiled. * include/sys/time.h (new): Header file which implements sys/time.h * include/pthread.h: Include time.h for struct timespec * include/mutex.h: Include time.h for struct timespec
author asl
date Sun, 23 Oct 2005 20:44:35 +0000
parents d2c90368aeef
children 74dbf4c3f2e1
line wrap: on
line diff
--- a/packages/compat/posix/current/tests/timer1.c
+++ b/packages/compat/posix/current/tests/timer1.c
@@ -55,6 +55,8 @@
 #define NA_MSG "No POSIX signals"
 #elif !defined(CYGPKG_POSIX_TIMERS)
 #define NA_MSG "No POSIX timers"
+#elif !defined(CYGPKG_POSIX_SEMAPHORES)
+#define NA_MSG "POSIX semaphores not enabled"
 #endif
 
 #ifdef NA_MSG