summaryrefslogtreecommitdiff
path: root/include/unistd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/unistd.h')
-rw-r--r--include/unistd.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/include/unistd.h b/include/unistd.h
index 89015ad6..07e49e97 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -15,12 +15,7 @@ extern "C" {
#define SEEK_CUR 1
#define SEEK_END 2
-#undef NULL
-#ifdef __cplusplus
-#define NULL 0
-#else
-#define NULL ((void*)0)
-#endif
+#define NULL 0L
#define __NEED_size_t
#define __NEED_ssize_t