VirtualBox

Changeset 16526 in vbox for trunk/src/VBox/Runtime/r3


Ignore:
Timestamp:
Feb 5, 2009 9:43:21 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
42452
Message:

IMO better for the unsetenv() prototype on Darwin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/posix/env-posix.cpp

    r16525 r16526  
    3434*******************************************************************************/
    3535#ifdef RT_OS_DARWIN
    36 /*
    37  * @todo: here is workaround for unsetenv(3) which doen't return status
    38  * see sys/cdefs.h for better solution
    39  */
    40 # define __DARWIN_UNIX03 1
     36/* pick the correct prototype for unsetenv. */
     37# define _POSIX_C_SOURCE 1
    4138#endif
    4239#include <iprt/env.h>
Note: See TracChangeset for help on using the changeset viewer.

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