Ticket #55415: patch-unsetenv@Tiger.diff

File patch-unsetenv@Tiger.diff, 367 bytes (added by ballapete (Peter "Pete" Dyballa), 7 years ago)

proposed patch file for Tiger's unsetenv()

  • Utilities/cmlibuv/src/unix/core.

    old new  
    12891289
    12901290
    12911291int uv_os_unsetenv(const char* name) {
     1292#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1050
    12921293  if (unsetenv(name) != 0)
    12931294    return -errno;
    1294 
     1295#else
     1296  unsetenv(name);
     1297#endif
    12951298  return 0;
    12961299}
    12971300