From: hadaq Date: Mon, 24 Nov 2003 13:02:41 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=9fe5d3e10451fe25ba4892767a3c210b1486c5f1;p=daqdata.git *** empty log message *** --- diff --git a/compat/pthread.h b/compat/pthread.h index 1bfa920..32ef23f 100644 --- a/compat/pthread.h +++ b/compat/pthread.h @@ -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 + diff --git a/compat/semaphore.h b/compat/semaphore.h index 2c94d70..b5241d6 100644 --- a/compat/semaphore.h +++ b/compat/semaphore.h @@ -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 typedef int sem_t; @@ -21,3 +23,5 @@ int SEMAPHORE_sem_trywait(sem_t * sem); int SEMAPHORE_sem_post(sem_t * sem); #endif + +#endif diff --git a/compat/stdint.h b/compat/stdint.h index 9a47bc9..b0f2ed8 100644 --- a/compat/stdint.h +++ b/compat/stdint.h @@ -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 diff --git a/compat/syslog.h b/compat/syslog.h index c1af04e..21c7531 100644 --- a/compat/syslog.h +++ b/compat/syslog.h @@ -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 #if !defined(LOG_PERROR) @@ -19,3 +21,5 @@ int SYSLOG_setlogmask(int maskpri); #define setlogmask SYSLOG_setlogmask #endif + +#endif