Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/include This is a HACK so that libc can compile with -ansi.
details: https://anonhg.NetBSD.org/src/rev/64a8af1cf868
branches: trunk
changeset: 495162:64a8af1cf868
user: mycroft <mycroft%NetBSD.org@localhost>
date: Sun Jul 23 19:25:58 2000 +0000
description:
This is a HACK so that libc can compile with -ansi.
diffstat:
include/stdio.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 0a089aa2fe2a -r 64a8af1cf868 include/stdio.h
--- a/include/stdio.h Sun Jul 23 14:40:48 2000 +0000
+++ b/include/stdio.h Sun Jul 23 19:25:58 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: stdio.h,v 1.36 2000/07/16 12:46:17 enami Exp $ */
+/* $NetBSD: stdio.h,v 1.37 2000/07/23 19:25:58 mycroft Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -59,7 +59,7 @@
* innards of an fpos_t anyway. The library internally uses off_t,
* which we assume is exactly as big as eight chars.
*/
-#if !defined(_ANSI_SOURCE) && !defined(__STRICT_ANSI__)
+#if (!defined(_ANSI_SOURCE) && !defined(__STRICT_ANSI__)) || defined(_LIBC)
typedef __off_t fpos_t;
#else
typedef struct __sfpos {
Home |
Main Index |
Thread Index |
Old Index