OSF/1 "cc -nodtk" does not support #include_next.
[pspp] / lib / wctype_.h
index f9028e4d03e9b2be0195c826cb6c05e450d2a7b9..460cee2bc6c32ebad8cb9c19ca6ec3216f063ef5 100644 (file)
@@ -39,7 +39,7 @@
 #endif
 
 #if @HAVE_WCTYPE_H@
-# ifdef __DECC
+# if defined __DECC && __DECC_VER >= 60000000
 #  include_next <wctype.h>
 # endif
 #endif
@@ -50,7 +50,7 @@
 /* Include the original <wctype.h> if it exists.
    BeOS 5 has the functions but no <wctype.h>.  */
 #if @HAVE_WCTYPE_H@
-# ifndef __DECC
+# if !(defined __DECC && __DECC_VER >= 60000000)
 #  include @ABSOLUTE_WCTYPE_H@
 # endif
 #endif