summaryrefslogtreecommitdiff
path: root/usr/src/head/iso/wchar_iso.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/head/iso/wchar_iso.h')
-rw-r--r--usr/src/head/iso/wchar_iso.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/usr/src/head/iso/wchar_iso.h b/usr/src/head/iso/wchar_iso.h
index 14763f0165..d7f35066d2 100644
--- a/usr/src/head/iso/wchar_iso.h
+++ b/usr/src/head/iso/wchar_iso.h
@@ -21,6 +21,7 @@
/*
* Copyright 2014 Garrett D'Amore <garrett@damore.org>
+ * Copyright 2014 PALO, Richard.
*
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
@@ -42,6 +43,7 @@
#define _ISO_WCHAR_ISO_H
#include <sys/feature_tests.h>
+#include <sys/null.h>
#include <stdio_tag.h>
#include <wchar_impl.h>
#include <iso/time_iso.h>
@@ -109,14 +111,6 @@ typedef unsigned int size_t; /* (historical version) */
#endif
#endif /* !defined(_SIZE_T) || __cplusplus >= 199711L */
-#ifndef NULL
-#if defined(_LP64)
-#define NULL 0L
-#else
-#define NULL 0
-#endif
-#endif /* !NULL */
-
#ifndef WEOF
#if __cplusplus >= 199711L
#define WEOF ((std::wint_t)(-1))