Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/lib/libsa Add LIBSA_RENAME_PRINTF to solve conflict with...
details: https://anonhg.NetBSD.org/src/rev/2942f502ed83
branches: trunk
changeset: 498375:2942f502ed83
user: takemura <takemura%NetBSD.org@localhost>
date: Sat Oct 21 13:48:06 2000 +0000
description:
Add LIBSA_RENAME_PRINTF to solve conflict with prototype definition of
printf() and etc in header files of Windows CE native compiler.
diffstat:
sys/lib/libsa/stand.h | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r 6e84176ba607 -r 2942f502ed83 sys/lib/libsa/stand.h
--- a/sys/lib/libsa/stand.h Sat Oct 21 12:40:23 2000 +0000
+++ b/sys/lib/libsa/stand.h Sat Oct 21 13:48:06 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: stand.h,v 1.40 2000/02/03 02:00:31 cgd Exp $ */
+/* $NetBSD: stand.h,v 1.41 2000/10/21 13:48:06 takemura Exp $ */
/*
* Copyright (c) 1999 Christopher G. Demetriou. All rights reserved.
@@ -75,6 +75,15 @@
#define NULL 0
#endif
+#ifdef LIBSA_RENAME_PRINTF
+#define getchar libsa_getchar
+#define gets libsa_gets
+#define printf libsa_printf
+#define putchar libsa_putchar
+#define sprintf libsa_sprintf
+#define vprintf libsa_vprintf
+#define vsprintf libsa_vsprintf
+#endif
#ifdef LIBSA_USE_MEMSET
#define bzero(s, l) memset(s, 0, l)
#endif
Home |
Main Index |
Thread Index |
Old Index