Mercurial > emacs
diff src/s/sol2-4.h @ 96765:8b34dc6bbff5
* s/sol2.h:
* s/sol2-4.h: Reorganize conditionals.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Thu, 17 Jul 2008 14:09:13 +0000 |
parents | cb1bfa1dca4f |
children |
line wrap: on
line diff
--- a/src/s/sol2-4.h Thu Jul 17 13:57:13 2008 +0000 +++ b/src/s/sol2-4.h Thu Jul 17 14:09:13 2008 +0000 @@ -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