VirtualBox

Changeset 3085 in kBuild


Ignore:
Timestamp:
Oct 3, 2017 11:01:54 AM (7 years ago)
Author:
bird
Message:

Config.kmk: Minimum 32-bit OS X version is now 10.5 because we want posix_spawn.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r3079 r3085  
    242242    KBUILD_MACOSX_TARGET_VERSION = 6
    243243  else
    244     KBUILD_MACOSX_TARGET_VERSION = 4
     244    KBUILD_MACOSX_TARGET_VERSION = 5
    245245  endif
    246246 endif
  • trunk/src/kmk/kmkbuiltin/redirect.c

    r3071 r3085  
    4545# include "quote_argv.h"
    4646#else
     47# ifdef __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
     48#  if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 1050
     49#   define USE_POSIX_SPAWN
     50#  endif
     51# elif !defined(KBUILD_OS_WINDOWS) && !defined(KBUILD_OS_OS2)
     52#  define USE_POSIX_SPAWN
     53# endif
    4754# include <unistd.h>
    48 # include <spawn.h>
     55# ifdef USE_POSIX_SPAWN
     56#  include <spawn.h>
     57# endif
    4958# include <sys/wait.h>
    5059#endif
     
    7079#  define LIBPATHSTRICT 3
    7180# endif
    72 #endif
    73 
    74 #if !defined(KBUILD_OS_WINDOWS) && !defined(KBUILD_OS_OS2)
    75 # define USE_POSIX_SPAWN
    7681#endif
    7782
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette