summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2008-07-17 09:35:30 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2008-07-17 09:35:30 -0700
commit058100fd19ed33a3100d18a9ca56fdcffac361b2 (patch)
tree5c39c69099db73e054c99ff37c935d8862571277
parent47833eef35b20a2eb0a74782edbb0877fd491c4c (diff)
Remove more Lynx leftovers
A couple #if defined(Lynx) && defined(sun) had become just if defined(sun), resulting in wrong settings for Solaris builds, so they're now just deleted.
-rw-r--r--hw/xfree86/loader/loader.c5
-rw-r--r--hw/xfree86/loader/loader.h3
2 files changed, 0 insertions, 8 deletions
diff --git a/hw/xfree86/loader/loader.c b/hw/xfree86/loader/loader.c
index 96d204190..a5e89127f 100644
--- a/hw/xfree86/loader/loader.c
+++ b/hw/xfree86/loader/loader.c
@@ -76,11 +76,6 @@
#include "compiler.h"
#include "sym.h"
-#if defined(sun)
-/* Cross build machine doesn;t have strerror() */
-#define strerror(err) "strerror unsupported"
-#endif
-
/*
* handles are used to identify files that are loaded. Even archives
* are counted as a single file.
diff --git a/hw/xfree86/loader/loader.h b/hw/xfree86/loader/loader.h
index 882dcab2f..ac5f99cf5 100644
--- a/hw/xfree86/loader/loader.h
+++ b/hw/xfree86/loader/loader.h
@@ -53,9 +53,6 @@
#ifndef _LOADER_H
#define _LOADER_H
-#if defined(sun)
-#define const /**/
-#endif
#include <X11/Xosdefs.h>
#include <X11/Xfuncproto.h>
#include <X11/Xmd.h>