diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2014-11-07 16:17:38 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2014-11-07 16:17:38 +0100 |
commit | 8ae020c485f526561ad317cc334e81e920f6b62a (patch) | |
tree | a65a89ade4c5cb2605e7d2c4c972c33006aad0fb /src/utils | |
parent | 35ed036f0cfed0ed2132514666f794e5af856a39 (diff) | |
download | nanomsg-8ae020c485f526561ad317cc334e81e920f6b62a.tar.gz |
Don't use undocumented type ADDRESS_FAMILY on Windows
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/win.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/win.h b/src/utils/win.h index decc1ff..07554cb 100644 --- a/src/utils/win.h +++ b/src/utils/win.h @@ -35,9 +35,9 @@ /* This structure does not exist on Windows platform. Let's fake it. */ struct sockaddr_un { - ADDRESS_FAMILY sun_family; + short sun_family; char sun_path [sizeof (struct sockaddr_storage) - - sizeof (ADDRESS_FAMILY)]; + sizeof (short)]; }; #define ssize_t int |