VirtualBox

Changeset 49663 in vbox for trunk/src/VBox/NetworkServices


Ignore:
Timestamp:
Nov 26, 2013 3:44:59 PM (11 years ago)
Author:
vboxsync
Message:

Convince Solaris headers to expose socket stuff we need with
-D_XOPEN_SOURCE=500 -DEXTENSIONS=1

-D_XOPEN_SOURCE=600 would also work, but <sys/feature_tests.h> insists
on C99 for it and so explodes for C++. Note that for 500 it insists
on NOT using C99, so when some day we decide to use -std=c99 we are in
for some fun.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/NetworkServices/NAT/Makefile.kmk

    r49249 r49663  
    5151VBoxNetLwipNAT_LDFLAGS.win = /SUBSYSTEM:windows
    5252
     53# Convince Solaris headers to expose socket stuff we need.  600 would
     54# also work, but <sys/feature_tests.h> insists on C99 for it and so
     55# explodes for C++.  Note that for 500 it insists on NOT using C99, so
     56# when some day we decide to use -std=c99 we are in for some fun.
     57VBoxNetLwipNAT_DEFS.solaris += _XOPEN_SOURCE=500 __EXTENSIONS__=1
     58
    5359VBoxNetLwipNAT_SOURCES += \
    5460    proxy_pollmgr.c \
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