X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libtest%2Fcore.cc;h=2542f43f5146dd45ec99bca783b37f0b17b84d8e;hb=641b87823e1a55331582d9dddbe36e1dfd9c1be3;hp=fba81c03f4ce4c0720bf98d507b0a3d23ace8ecb;hpb=8da5675f446c52fa0410edeb8d94ad18201b004b;p=m6w6%2Flibmemcached diff --git a/libtest/core.cc b/libtest/core.cc index fba81c03..2542f43f 100644 --- a/libtest/core.cc +++ b/libtest/core.cc @@ -34,7 +34,7 @@ * */ -#include +#include "libtest/yatlcon.h" #include @@ -42,8 +42,11 @@ namespace libtest { void create_core(void) { -#ifdef TARGET_OS_OSX - return; +#if defined(__APPLE__) && __APPLE__ + if (__APPLE__) + { + return; + } #endif if (getenv("YATL_COREDUMP")) {