]> git.tdb.fi Git - libs/net.git/blob - source/constants.h
Fix a comparison operator on win32
[libs/net.git] / source / constants.h
1 /* $Id$
2
3 This file is part of libmspnet
4 Copyright © 2008  Mikkosoft Productions, Mikko Rasa
5 Distributed under the LGPL
6 */
7
8 #ifndef MSP_NET_CONSTANTS_H_
9 #define MSP_NET_CONSTANTS_H_
10
11 #ifdef WIN32
12 #include <winsock2.h>
13 #else
14 #include <sys/socket.h>
15 #endif
16
17 namespace Msp {
18 namespace Net {
19
20 enum Family
21 {
22         UNSPEC=AF_UNSPEC,
23         INET=AF_INET,
24         INET6=AF_INET6,
25         UNIF=AF_UNIX
26 };
27
28 } // namespace Net
29 } // namespace Msp
30
31 #endif