diff options
| author | Dan Nicolaescu | 2010-04-23 00:00:38 -0700 |
|---|---|---|
| committer | Dan Nicolaescu | 2010-04-23 00:00:38 -0700 |
| commit | feeb1604f50bafb987b4e85ac3df5edef5151662 (patch) | |
| tree | fec87f88e822ecec11784c639923d31b241f0b95 /src/xrdb.c | |
| parent | d8004abee409ddbda6875bdd3e99bbf1a96e8b9d (diff) | |
| download | emacs-feeb1604f50bafb987b4e85ac3df5edef5151662.tar.gz emacs-feeb1604f50bafb987b4e85ac3df5edef5151662.zip | |
Clean up Solaris code.
* s/sol2-6.h (LD_SWITCH_SYSTEM_TEMACS, C_SWITCH_X_SYSTEM)
(LIB_MOTIF): Remove, configure takes care of this.
(NOT_USING_MOTIF): Remove, unused.
* xrdb.c: Remove #if 0-ed #include.
(SYSV): Remove conditional for old SysV.
* sysdep.c (closedir): Remove conditional code for Solaris,
Solaris has closedir.
Diffstat (limited to 'src/xrdb.c')
| -rw-r--r-- | src/xrdb.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/xrdb.c b/src/xrdb.c index 7808bacc59f..bd3474c0466 100644 --- a/src/xrdb.c +++ b/src/xrdb.c | |||
| @@ -34,24 +34,8 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 34 | #include <stdio.h> | 34 | #include <stdio.h> |
| 35 | #include <setjmp.h> | 35 | #include <setjmp.h> |
| 36 | 36 | ||
| 37 | #if 1 /* I'd really appreciate it if this code could go away... -JimB */ | ||
| 38 | /* This avoids lossage in the `dual-universe' headers on AT&T SysV | ||
| 39 | X11. Don't do it on Solaris, because it breaks compilation with | ||
| 40 | XFree86 4.0.3 (and probably many other X11R6 releases) on Solaris | ||
| 41 | 2 */ | ||
| 42 | #if defined(USG5) && !defined(SOLARIS2) | ||
| 43 | #ifndef SYSV | ||
| 44 | #define SYSV | ||
| 45 | #endif | ||
| 46 | #endif /* USG5 && !SOLARIS2 */ | ||
| 47 | |||
| 48 | #endif /* 1 */ | ||
| 49 | |||
| 50 | #include <X11/Xlib.h> | 37 | #include <X11/Xlib.h> |
| 51 | #include <X11/Xatom.h> | 38 | #include <X11/Xatom.h> |
| 52 | #if 0 | ||
| 53 | #include <X11/Xos.h> | ||
| 54 | #endif | ||
| 55 | #include <X11/X.h> | 39 | #include <X11/X.h> |
| 56 | #include <X11/Xutil.h> | 40 | #include <X11/Xutil.h> |
| 57 | #include <X11/Xresource.h> | 41 | #include <X11/Xresource.h> |