summaryrefslogtreecommitdiff
path: root/libcxx/test/libcxx/nasty_macros.compile.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/libcxx/nasty_macros.compile.pass.cpp')
-rw-r--r--libcxx/test/libcxx/nasty_macros.compile.pass.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxx/test/libcxx/nasty_macros.compile.pass.cpp b/libcxx/test/libcxx/nasty_macros.compile.pass.cpp
index 28b3162678d5..5254e0d78e88 100644
--- a/libcxx/test/libcxx/nasty_macros.compile.pass.cpp
+++ b/libcxx/test/libcxx/nasty_macros.compile.pass.cpp
@@ -54,6 +54,7 @@
// Test that libc++ doesn't use names that collide with FreeBSD system macros.
#ifndef __FreeBSD__
# define __null_sentinel NASTY_MACRO
+# define __generic
#endif
// tchar.h defines these macros on Windows