Source-Changes-HG archive

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

[src/trunk]: src/sys/external/bsd/gnu-efi/dist/inc Use <sys/stdarg.h> on NetBSD.



details:   https://anonhg.NetBSD.org/src/rev/1cd6316a3345
branches:  trunk
changeset: 328585:1cd6316a3345
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Tue Apr 08 17:55:18 2014 +0000

description:
Use <sys/stdarg.h> on NetBSD.

diffstat:

 sys/external/bsd/gnu-efi/dist/inc/efistdarg.h |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 199c423f354a -r 1cd6316a3345 sys/external/bsd/gnu-efi/dist/inc/efistdarg.h
--- a/sys/external/bsd/gnu-efi/dist/inc/efistdarg.h     Tue Apr 08 16:49:25 2014 +0000
+++ b/sys/external/bsd/gnu-efi/dist/inc/efistdarg.h     Tue Apr 08 17:55:18 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: efistdarg.h,v 1.1.1.1 2014/04/01 16:16:07 jakllsch Exp $       */
+/*     $NetBSD: efistdarg.h,v 1.2 2014/04/08 17:55:18 jakllsch Exp $   */
 
 #ifndef _EFISTDARG_H_
 #define _EFISTDARG_H_
@@ -21,7 +21,11 @@
 
 --*/
 #ifdef __GNUC__
+#ifdef __NetBSD__
+#include <sys/stdarg.h>
+#else
 #include "stdarg.h"
+#endif
 #else
 #define _INTSIZEOF(n)   ( (sizeof(n) + sizeof(UINTN) - 1) & ~(sizeof(UINTN) - 1) )
 



Home | Main Index | Thread Index | Old Index