COVISE Core
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
sysdep
net.h
Go to the documentation of this file.
1
/* This file is part of COVISE.
2
3
You can use it under the terms of the GNU Lesser General Public License
4
version 2.1 or later, see lgpl-2.1.txt.
5
6
* License: LGPL 2+ */
7
8
#ifndef SYSDEP_NET_H
9
#define SYSDEP_NET_H
10
11
#include <sys/types.h>
12
13
#ifdef _WIN32
14
15
#include <winsock2.h>
16
#include <ws2tcpip.h>
17
//#define socklen_t int
18
19
#else
20
21
#include <sys/socket.h>
22
23
#if defined(__APPLE__) && defined(__GNUC__) && __GNUC__ < 4
24
#define socklen_t int
25
#endif
26
27
#if defined(__sgi) || defined(__hpux)
28
#define socklen_t int
29
#endif
30
31
#endif
/* _WIN32 */
32
33
#endif
Generated by
1.8.5