summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/misc.c b/misc.c
index e99aaa9..094fe5d 100644
--- a/misc.c
+++ b/misc.c
@@ -62,7 +62,7 @@ static Boolean UncompressUnformatted(ManpageGlobals * man_globals,
static Boolean ConstructCommand(char * cmdbuf, char * path, char * filename, char * tempfile);
#endif
-#if defined(ISC) || defined(SCO)
+#if defined(ISC) || defined(__USLC__) || defined(__SCO__)
static char *uncompress_format = NULL;
static char *uncompress_formats[] =
{ UNCOMPRESS_FORMAT_1,
@@ -193,7 +193,7 @@ FindManualFile(ManpageGlobals * man_globals, int section_num, int entry_num)
char filename[BUFSIZ];
char * entry = manual[section_num].entries[entry_num];
int len_cat = strlen(CAT);
-#if defined(ISC) || defined(SCO)
+#if defined(ISC) || defined(__USLC__)
int i;
#endif
@@ -224,7 +224,7 @@ FindManualFile(ManpageGlobals * man_globals, int section_num, int entry_num)
* Then for compressed files in an uncompressed directory.
*/
-#if !defined(ISC) && !defined(SCO)
+#if !defined(ISC) && !defined(__USLC__)
#if defined(__OpenBSD__) || defined(__NetBSD__)
/* look in machine subdir first */
snprintf(filename, sizeof(filename), "%s/%s%s/%s/%s.%s", path, CAT,