tests: honor EPIPE in kill(HUP) test
[awesomized/libmemcached] / libtest / core.cc
index fba81c03f4ce4c0720bf98d507b0a3d23ace8ecb..2542f43f5146dd45ec99bca783b37f0b17b84d8e 100644 (file)
@@ -34,7 +34,7 @@
  *
  */
 
-#include <config.h>
+#include "libtest/yatlcon.h"
 #include <libtest/common.h>
 
 
@@ -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"))
   {