bes  Updated for version 3.20.6
SocketConfig.h
1 /* SocketConfig.h. Generated by configure. */
2 /* SocketConfig.h.in. Generated automatically from configure.in by autoheader. */
3 // -*- C++ -*-
4 
5 // (c) COPYRIGHT UCAR/HAO 1993-2002
6 // Please read the full copyright statement in the file COPYRIGHT.
7 
8 #ifndef SocketConfig_h_
9 #define SocketConfig_h_
10 
11 //#define SOCKET_USE_LTOA
12 
13 /* Define to empty if the keyword does not work. */
14 /* #undef const */
15 
16 /* Define if you have the ANSI C header files. */
17 #define STDC_HEADERS 1
18 
19 //
20 #define _OS_HAS_SOCKLEN_T 1
21 //
22 #define _ACCEPT_USES_SOCKLEN_T 1
23 //
24 #define _GETSOCKNAME_USES_SOCKLEN_T 1
25 
26 /* Define if you have the strerror function. */
27 #define HAVE_STRERROR 1
28 
29 /* Define if you have the <sys/socket.h> header file. */
30 #define HAVE_SYS_SOCKET_H 1
31 
32 /* Define if you have the <sys/types.h> header file. */
33 #define HAVE_SYS_TYPES_H 1
34 
35 /* Define if you have the <unistd.h> header file. */
36 #define HAVE_UNISTD_H 1
37 
38 /* Name of package */
39 /* #undef PACKAGE */
40 
41 /* Version number of package */
42 /* #undef VERSION */
43 
44 
45 // Support for the Sun Pro compiler
46 
47 #ifdef __SUNPRO_CC // __SUNPRO_CC always defined for Sun CC 4.2
48 #ifdef ansi
49 #ifndef __STRICT_ANSI__
50 #define __STRICT_ANSI__
51 #endif // __STRICT_ANSI__
52 #endif // ansi
53 #endif // __SUNPRO_CC
54 
55 // Support for the Microsoft compiler
56 
57 #ifdef __WIN32 // __WIN32 always defined for Microsoft Visual C++ 5.0
58 #ifdef ansi
59 #ifndef __STRICT_ANSI__
60 #define __STRICT_ANSI__
61 #endif // __STRICT_ANSI__
62 #endif // ansi
63 #endif // __WIN32
64 
65 // This code take cares of getting the necessary system header files if the API is not ANSI C++
66 
67 #ifndef __STRICT_ANSI__
68 #if defined (unix) && !defined(_WINDOWS) && !defined(WIN32) && !defined(_WIN32) && !defined(__NT__) && !defined(_WINDOWS)&& !defined(OS2)
69 #include <unistd.h>
70 #endif // unix style
71 #if (defined (_WINDOWS) || defined(__NT__)) && !defined (unix)
72 #include <windows.h>
73 #include <process.h>
74 #endif // windows style
75 #endif // __STRICT_ANSI__
76 
77 
78 #endif // SocketConfig_h_