summaryrefslogtreecommitdiff
path: root/src/s/sol2-4.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/s/sol2-4.h')
-rw-r--r--src/s/sol2-4.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/s/sol2-4.h b/src/s/sol2-4.h
index 3cf2786c500..df8552e9562 100644
--- a/src/s/sol2-4.h
+++ b/src/s/sol2-4.h
@@ -2,13 +2,6 @@
#include "sol2-3.h"
-/* Get rid of -traditional and let const really do its thing. */
-
-#ifdef __GNUC__
-#undef C_SWITCH_SYSTEM
-#undef const
-#endif /* __GNUC__ */
-
#undef LD_SWITCH_SYSTEM
/* `#ifdef USE_MOTIF' won't work here, since USE_MOTIF isn't defined yet.
@@ -25,6 +18,10 @@
#define LD_SWITCH_SYSTEM_TEMACS -L/usr/ccs/lib \
`./prefix-args -Xlinker LD_SWITCH_X_SITE_AUX` \
`NOT_USING_MOTIF || echo ' -R/usr/dt/lib -L/usr/dt/lib'`
+
+/* Get rid of -traditional and let const really do its thing. */
+#undef C_SWITCH_SYSTEM
+#undef const
#endif /* GCC */
/* Gregory Neil Shapiro <gshapiro@hhmi.org> reports the Motif header files