]> jspc29.x-matter.uni-frankfurt.de Git - daqdata.git/commitdiff
*** empty log message ***
authorhadaq <hadaq>
Mon, 24 Nov 2003 13:08:33 +0000 (13:08 +0000)
committerhadaq <hadaq>
Mon, 24 Nov 2003 13:08:33 +0000 (13:08 +0000)
compat/libgen.h
compat/pthread.h
compat/semaphore.h
compat/stdint.h
compat/syslog.h

index ff7b01cdc45da5e072bd3720ccc7fafced36f8ac..d3bd3c2cd81ace76e1411c268392a1f640560631 100644 (file)
@@ -1,5 +1,10 @@
-/* $Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/compat/libgen.h,v 1.3 2003-02-17 12:28:09 muench Exp $ */
+/* $Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/compat/libgen.h,v 1.4 2003-11-24 13:08:33 hadaq Exp $ */
 #ifndef OUR_LIBGEN_H
 #define OUR_LIBGEN_H
 
+#ifdef HAVE_LIBCOMPAT
+#else
+#include </usr/include/libgen.h>
+#endif
+
 #endif
index 32ef23fe0402cfd41892e6fbeba36ca45ebb23b3..1d2e94cbd0c521266dac58736c9a1a713c88a119 100644 (file)
@@ -76,7 +76,8 @@ int PTHREAD_pthread_key_create(pthread_key_t *key, void (*destr_function) (void
 int PTHREAD_pthread_key_delete(pthread_key_t key);
 void *PTHREAD_pthread_getspecific(pthread_key_t key);
 
+#else
+#include </usr/include/pthread.h>
 #endif
 
 #endif
-
index b5241d6df39faf1f5bdce4c910fdb5370b67d2bb..8739b15bbcdb621ce41b09e01c93dd6d58d747cf 100644 (file)
@@ -1,4 +1,4 @@
-/* $Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/compat/semaphore.h,v 1.3 2003-11-24 13:02:41 hadaq Exp $ */
+/* $Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/compat/semaphore.h,v 1.4 2003-11-24 13:08:34 hadaq Exp $ */
 #ifndef OUR_SEMAPHORE_H
 #define OUR_SEMAPHORE_H
 
@@ -22,6 +22,8 @@ int SEMAPHORE_sem_wait(sem_t * sem);
 int SEMAPHORE_sem_trywait(sem_t * sem);
 int SEMAPHORE_sem_post(sem_t * sem);
 
+#else
+#include </usr/include/semaphore.h>
 #endif
 
 #endif
index b0f2ed8bf7a73b3ccd4ec7e6c5bd7fa4fe546181..e11f8e1bed12d70de705eb161d1c1ddcc8ecf6c4 100644 (file)
@@ -1,4 +1,4 @@
-/* $Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/compat/stdint.h,v 1.3 2003-11-24 13:02:42 hadaq Exp $ */
+/* $Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/compat/stdint.h,v 1.4 2003-11-24 13:08:34 hadaq Exp $ */
 #ifndef OUR_STDINT_H
 #define OUR_STDINT_H
 
@@ -12,6 +12,8 @@ typedef unsigned char         uint8_t;
 typedef unsigned short int     uint16_t;
 typedef unsigned int           uint32_t;
 
+#else
+#include </usr/include/stdint.h>
 #endif
 
 #endif
index 21c7531501c74780916a7929881765d48eb30ea0..95193a407fe049f7e0bff9459a9624b193e8669b 100644 (file)
@@ -1,4 +1,4 @@
-/* $Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/compat/syslog.h,v 1.4 2003-11-24 13:02:42 hadaq Exp $ */
+/* $Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/compat/syslog.h,v 1.5 2003-11-24 13:08:34 hadaq Exp $ */
 #ifndef OUR_SYSLOG_H
 #define OUR_SYSLOG_H
 
@@ -20,6 +20,8 @@ int SYSLOG_setlogmask(int maskpri);
 #define closelog   SYSLOG_closelog
 #define setlogmask SYSLOG_setlogmask
 
+#else
+#include </usr/include/syslog.h>
 #endif
 
 #endif