summaryrefslogtreecommitdiff
path: root/libtest/core.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libtest/core.cc')
-rw-r--r--libtest/core.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libtest/core.cc b/libtest/core.cc
index 8e887471..2542f43f 100644
--- a/libtest/core.cc
+++ b/libtest/core.cc
@@ -42,8 +42,8 @@ namespace libtest {
void create_core(void)
{
-#if defined(TARGET_OS_OSX) && TARGET_OS_OSX
- if (TARGET_OS_OSX)
+#if defined(__APPLE__) && __APPLE__
+ if (__APPLE__)
{
return;
}