Module Name:    src
Committed By:   tsutsui
Date:           Wed Jun 19 10:30:53 UTC 2024

Modified Files:
        src/external/gpl2/mkhybrid/dist/libfile: file.h

Log Message:
No need to check and redefine C89 strerror(3) and strtoul(3).

Fixes build error on MacOS 10.4 with Xcode 2.5.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/gpl2/mkhybrid/dist/libfile/file.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl2/mkhybrid/dist/libfile/file.h
diff -u src/external/gpl2/mkhybrid/dist/libfile/file.h:1.2 src/external/gpl2/mkhybrid/dist/libfile/file.h:1.3
--- src/external/gpl2/mkhybrid/dist/libfile/file.h:1.2	Fri May 31 20:25:41 2024
+++ src/external/gpl2/mkhybrid/dist/libfile/file.h	Wed Jun 19 10:30:53 2024
@@ -116,15 +116,4 @@ extern int debug;		/* enable debugging?	
 extern int zflag;		/* process compressed files?		*/
 extern int lflag;		/* follow symbolic links?		*/
 
-
-#ifndef	HAVE_STRERROR
-extern int sys_nerr;
-extern char *sys_errlist[];
-#define strerror(e) \
-	(((e) >= 0 && (e) < sys_nerr) ? sys_errlist[(e)] : "Unknown error")
-#endif
-#ifndef	HAVE_STRTOUL
-#define strtoul(a, b, c)	strtol(a, b, c)
-#endif
-
 #endif /* __file_h__ */

Reply via email to