]> arthur.barton.de Git - netatalk.git/commitdiff
DEC C fixes.
authorsrittau <srittau>
Wed, 15 Aug 2001 01:45:00 +0000 (01:45 +0000)
committersrittau <srittau>
Wed, 15 Aug 2001 01:45:00 +0000 (01:45 +0000)
sys/generic/sys/cdefs.h

index 0c2b21edc519f04d09c0c0d823453dca56d5b3e6..f4e5aeae759cf7b809b867cc427192bb881224e0 100644 (file)
@@ -1,12 +1,15 @@
 /*
- * $Id: cdefs.h,v 1.2 2001-06-29 14:14:47 rufustfirefly Exp $
+ * $Id: cdefs.h,v 1.3 2001-08-15 01:45:00 srittau Exp $
  */
 
 #ifndef _SYS_CDEFS_H
 #define _SYS_CDEFS_H 1
 
-#ifdef __STDC__
-#define __P(args)    args  
+#ifdef __STDC__ || __DECC
+/* Note that there must be exactly one space between __P(args) and args,
+ * otherwise DEC C chokes.
+ */
+#define __P(args) args
 #else /* __STDC__ */
 #define __P(args)    ()
 #endif /* __STDC__ */