*
*/
-#include <config.h>
+#include "libtest/yatlcon.h"
#include <libtest/common.h>
void create_core(void)
{
-#ifdef TARGET_OS_OSX
- return;
+#if defined(TARGET_OS_OSX) && TARGET_OS_OSX
+ if (TARGET_OS_OSX)
+ {
+ return;
+ }
#endif
- if (getenv("LIBMEMCACHED_NO_COREDUMP") == NULL)
+ if (getenv("YATL_COREDUMP"))
{
pid_t pid= fork();