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

index 1bfa92005240a93d07fe932cf942f05fceeff96c..32ef23fe0402cfd41892e6fbeba36ca45ebb23b3 100644 (file)
@@ -2,6 +2,8 @@
 #ifndef OUR_PTHREAD_H
 #define OUR_PTHREAD_H
 
+#ifdef HAVE_LIBCOMPAT
+
 /*
 Translate pthread calls conforming to the final POSIX standard (1003.1c)
 to the older draft version 1003.4b.  The latter one is e.g. used by
@@ -76,3 +78,5 @@ void *PTHREAD_pthread_getspecific(pthread_key_t key);
 
 #endif
 
+#endif
+
index 2c94d70dbaec48d951a8dc427fbee6953d11623d..b5241d6df39faf1f5bdce4c910fdb5370b67d2bb 100644 (file)
@@ -1,7 +1,9 @@
-/* $Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/compat/semaphore.h,v 1.2 2003-02-17 12:28:09 muench Exp $ */
+/* $Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/compat/semaphore.h,v 1.3 2003-11-24 13:02:41 hadaq Exp $ */
 #ifndef OUR_SEMAPHORE_H
 #define OUR_SEMAPHORE_H
 
+#ifdef HAVE_LIBCOMPAT
+
 #include <sys/types.h>
 
 typedef int sem_t;
@@ -21,3 +23,5 @@ int SEMAPHORE_sem_trywait(sem_t * sem);
 int SEMAPHORE_sem_post(sem_t * sem);
 
 #endif
+
+#endif
index 9a47bc9cc5285eee06ac429ee270df96105326cb..b0f2ed8bf7a73b3ccd4ec7e6c5bd7fa4fe546181 100644 (file)
@@ -1,7 +1,9 @@
-/* $Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/compat/stdint.h,v 1.2 2003-02-17 12:28:09 muench Exp $ */
+/* $Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/compat/stdint.h,v 1.3 2003-11-24 13:02:42 hadaq Exp $ */
 #ifndef OUR_STDINT_H
 #define OUR_STDINT_H
 
+#ifdef HAVE_LIBCOMPAT
+
 typedef signed char            int8_t;
 typedef short int              int16_t;
 typedef int                    int32_t;
@@ -11,3 +13,5 @@ typedef unsigned short int    uint16_t;
 typedef unsigned int           uint32_t;
 
 #endif
+
+#endif
index c1af04e71edd4682ad634158da4f24d885f26d0d..21c7531501c74780916a7929881765d48eb30ea0 100644 (file)
@@ -1,7 +1,9 @@
-/* $Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/compat/syslog.h,v 1.3 2003-02-17 12:28:09 muench Exp $ */
+/* $Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/compat/syslog.h,v 1.4 2003-11-24 13:02:42 hadaq Exp $ */
 #ifndef OUR_SYSLOG_H
 #define OUR_SYSLOG_H
 
+#ifdef HAVE_LIBCOMPAT
+
 #include </usr/include/syslog.h>
 
 #if !defined(LOG_PERROR)
@@ -19,3 +21,5 @@ int SYSLOG_setlogmask(int maskpri);
 #define setlogmask SYSLOG_setlogmask
 
 #endif
+
+#endif