]> git.eshelyaron.com Git - emacs.git/commitdiff
(C_SWITCH_SYSTEM) [!__GNUC__]: Add `-nointrinsics'
authorGerd Moellmann <gerd@gnu.org>
Wed, 10 Oct 2001 12:21:58 +0000 (12:21 +0000)
committerGerd Moellmann <gerd@gnu.org>
Wed, 10 Oct 2001 12:21:58 +0000 (12:21 +0000)
options.  From Dave Love <d.love@dl.ac.uk>.

src/s/osf5-0.h

index b084ab8c887ffcade46509996606703b7bbc5420..54cfb16823f9f3365c474b26b307acd9c4346348 100644 (file)
@@ -2,8 +2,17 @@
 #include "osf1.h"
 
 /* It's enough to define _OSF_SOURCE instead of _BSD.  */
+
+/* -nointrinsics is required to avoid losing with definitions of POSIX
+   stuff in regex.c, for instance, where regex_t isn't consistent
+   with the system defintion.  This may be necessary also on OSF 4
+   systems with dtk 6.4 installed.  */
 #undef C_SWITCH_SYSTEM
+#ifdef __GNUC__
 #define C_SWITCH_SYSTEM        -D_OSF_SOURCE
+#else
+#define C_SWITCH_SYSTEM        -D_OSF_SOURCE -nointrinsics
+#endif
 
 #define WAIT_USE_INT
 #define SYS_SIGLIST_DECLARED