Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys Added __packed define to be able to use eMbedded Vis...
details: https://anonhg.NetBSD.org/src/rev/97ffff80744f
branches: trunk
changeset: 766475:97ffff80744f
user: nonaka <nonaka%NetBSD.org@localhost>
date: Thu Jun 23 12:16:03 2011 +0000
description:
Added __packed define to be able to use eMbedded Visual C++ for building hpcboot.exe.
diffstat:
sys/sys/cdefs.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 970395c2fc36 -r 97ffff80744f sys/sys/cdefs.h
--- a/sys/sys/cdefs.h Thu Jun 23 12:11:24 2011 +0000
+++ b/sys/sys/cdefs.h Thu Jun 23 12:16:03 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cdefs.h,v 1.85 2011/06/16 13:51:26 joerg Exp $ */
+/* $NetBSD: cdefs.h,v 1.86 2011/06/23 12:16:03 nonaka Exp $ */
/*
* Copyright (c) 1991, 1993
@@ -302,6 +302,8 @@
#define __packed _Pragma("packed 1")
#define __aligned(x) _Pragma("aligned " __STRING(x))
#define __section(x) _Pragma("section " ## x)
+#elif defined(_MSC_VER)
+#define __packed /* ignore */
#else
#define __packed error: no __packed for this compiler
#define __aligned(x) error: no __aligned for this compiler
Home |
Main Index |
Thread Index |
Old Index