aboutsummaryrefslogtreecommitdiff
path: root/libc/include/llvm-libc-macros/null-macro.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/include/llvm-libc-macros/null-macro.h')
-rw-r--r--libc/include/llvm-libc-macros/null-macro.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/libc/include/llvm-libc-macros/null-macro.h b/libc/include/llvm-libc-macros/null-macro.h
new file mode 100644
index 000000000000..416d4e865fc5
--- /dev/null
+++ b/libc/include/llvm-libc-macros/null-macro.h
@@ -0,0 +1,15 @@
+//===-- Definition of the NULL macro --------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_LIBC_MACROS_NULL_MACRO_H
+#define LLVM_LIBC_MACROS_NULL_MACRO_H
+
+#define __need_NULL
+#include <stddef.h>
+
+#endif // LLVM_LIBC_MACROS_NULL_MACRO_H