Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/file work around cross-compile problems on 1.5.x, do...



details:   https://anonhg.NetBSD.org/src/rev/674cc407189e
branches:  trunk
changeset: 534770:674cc407189e
user:      pooka <pooka%NetBSD.org@localhost>
date:      Fri Aug 02 20:32:55 2002 +0000

description:
work around cross-compile problems on 1.5.x, don't try to include
<stdint.h> on that platform

diffstat:

 usr.bin/file/config.h |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diffs (14 lines):

diff -r 252745e9d96d -r 674cc407189e usr.bin/file/config.h
--- a/usr.bin/file/config.h     Fri Aug 02 20:03:36 2002 +0000
+++ b/usr.bin/file/config.h     Fri Aug 02 20:32:55 2002 +0000
@@ -90,7 +90,10 @@
 #define HAVE_LOCALE_H 1
 
 /* Define if you have the <stdint.h> header file.  */
+#include <sys/param.h>
+#if __NetBSD_Version__ > 106000000
 #define HAVE_STDINT_H 1
+#endif
 
 /* Define if you have the <sys/mman.h> header file.  */
 #define HAVE_SYS_MMAN_H 1



Home | Main Index | Thread Index | Old Index