Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys Add standard size_t dance
details: https://anonhg.NetBSD.org/src/rev/8261a4574dbf
branches: trunk
changeset: 333202:8261a4574dbf
user: martin <martin%NetBSD.org@localhost>
date: Thu Oct 23 08:55:32 2014 +0000
description:
Add standard size_t dance
diffstat:
sys/sys/exec_elf.h | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r e69dac888e46 -r 8261a4574dbf sys/sys/exec_elf.h
--- a/sys/sys/exec_elf.h Thu Oct 23 03:47:58 2014 +0000
+++ b/sys/sys/exec_elf.h Thu Oct 23 08:55:32 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: exec_elf.h,v 1.144 2014/09/19 09:04:35 matt Exp $ */
+/* $NetBSD: exec_elf.h,v 1.145 2014/10/23 08:55:32 martin Exp $ */
/*-
* Copyright (c) 1994 The NetBSD Foundation, Inc.
@@ -46,6 +46,11 @@
#include <inttypes.h>
#endif /* _KERNEL || _STANDALONE */
+#ifdef _BSD_SIZE_T_
+typedef _BSD_SIZE_T_ size_t;
+#undef _BSD_SIZE_T_
+#endif
+
#if HAVE_NBTOOL_CONFIG_H
#include <nbinclude/machine/elf_machdep.h>
#else
Home |
Main Index |
Thread Index |
Old Index