diff --git a/src/osg/os_utils.cpp b/src/osg/os_utils.cpp index 7689c122f..1bb70c2fc 100644 --- a/src/osg/os_utils.cpp +++ b/src/osg/os_utils.cpp @@ -15,10 +15,11 @@ extern "C" { -#define USE_POSIX_SPAWN defined(__APPLE__) -//#define USE_POSIX_SPAWN true +#ifdef __APPLE__ +#define USE_POSIX_SPAWN 1 +#endif -#if USE_POSIX_SPAWN +#ifdef USE_POSIX_SPAWN #include #include