Changeset 44556 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Feb 6, 2013 12:06:34 AM (12 years ago)
- Location:
- trunk/src/VBox/Runtime
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/posix/process-creation-posix.cpp
r44555 r44556 30 30 *******************************************************************************/ 31 31 #define LOG_GROUP RTLOGGROUP_PROCESS 32 #include <iprt/cdefs.h> 33 32 34 #include <unistd.h> 33 35 #include <stdlib.h> … … 43 45 # include <shadow.h> 44 46 #endif 47 45 48 #if defined(RT_OS_LINUX) || defined(RT_OS_OS2) 46 49 /* While Solaris has posix_spawn() of course we don't want to use it as … … 49 52 # define HAVE_POSIX_SPAWN 1 50 53 #endif 54 #if defined(RT_OS_DARWIN) && defined(MAC_OS_X_VERSION_MIN_REQUIRED) 55 # if MAC_OS_X_VERSION_MIN_REQUIRED >= 1050 56 # define HAVE_POSIX_SPAWN 1 57 # endif 58 #endif 51 59 #ifdef HAVE_POSIX_SPAWN 52 60 # include <spawn.h> 53 61 #endif 62 54 63 #ifdef RT_OS_DARWIN 55 64 # include <mach-o/dyld.h> -
trunk/src/VBox/Runtime/testcase/tstRTProcCreatePrf.cpp
r42503 r44556 57 57 uint64_t NsStart = RTTimeNanoTS(); 58 58 uint32_t i; 59 #if defined(RT_OS_WINDOWS) || defined(RT_OS_OS2) 59 #if defined(RT_OS_WINDOWS) || defined(RT_OS_OS2) || defined(RT_OS_DARWIN) 60 60 for (i = 0; i < 1000; i++) 61 61 #else
Note:
See TracChangeset
for help on using the changeset viewer.