X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libtest%2Fcore.cc;h=2542f43f5146dd45ec99bca783b37f0b17b84d8e;hb=6139acf5af6c33a6ca858306e7abd97e0ee4104f;hp=fba81c03f4ce4c0720bf98d507b0a3d23ace8ecb;hpb=26f4a2a69a448fbda346b7bec93b6bd1d825e12b;p=awesomized%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")) {