aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/nifs/common/socket_int.h
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2019-03-04 16:00:25 +0100
committerMicael Karlberg <[email protected]>2019-03-04 16:50:14 +0100
commit270b5a02c47fa54a773e8f9df3b0c2bfe972da1d (patch)
treeea7f43357ab56e82a6f976731429ca82f5e9ba0f /erts/emulator/nifs/common/socket_int.h
parentf9d7c5d31d7e585eafb36ad51f4851839dc465c8 (diff)
downloadotp-270b5a02c47fa54a773e8f9df3b0c2bfe972da1d.tar.gz
otp-270b5a02c47fa54a773e8f9df3b0c2bfe972da1d.tar.bz2
otp-270b5a02c47fa54a773e8f9df3b0c2bfe972da1d.zip
[socket] Fixed various type size and unused function warnings
Fixed some type size warnings (SCTP related). E.g: On Solaris 11 (OpenIndiana Hipster) long and int is size 4, but the way Sint32 def works it first "tests" for long size and if that is correct, that is chosen (which it is on Solaris 11). On linux long is size 8, so Sint32 will be defined as int. ... On Solaris 11 the flags TCP_CONGESTION and SO_BINDTODEVICE does not exist, so the function(s) n[set|get]opt_str_opt is never used. So, in order to keep the compiler quiet, we add some if-def to exclude these functions in this case.
Diffstat (limited to 'erts/emulator/nifs/common/socket_int.h')
0 files changed, 0 insertions, 0 deletions