]> jspc29.x-matter.uni-frankfurt.de Git - daqdata.git/commitdiff
Make compile work with the "new" linux sys/sem.h
authormuench <muench>
Tue, 15 Feb 2000 12:40:20 +0000 (12:40 +0000)
committermuench <muench>
Tue, 15 Feb 2000 12:40:20 +0000 (12:40 +0000)
hadaq/semaphore.c

index ae1663598ddb262c2fbf596be3354f480ab52f37..9d290a684d1b1655348a0c95e1583a53e1ac958f 100644 (file)
@@ -13,7 +13,7 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 
-#if defined(__hpux) || defined(__osf__)
+#if !(defined(__Lynx__) || (defined(__linux) && __GNUC_MINOR__ < 91))
 union semun {
        int val;
        struct semid_ds *buf;