#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
#endif
+#endif
+
-/* $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;
int SEMAPHORE_sem_post(sem_t * sem);
#endif
+
+#endif
-/* $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;
typedef unsigned int uint32_t;
#endif
+
+#endif
-/* $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)
#define setlogmask SYSLOG_setlogmask
#endif
+
+#endif