SocketConfig.h

Go to the documentation of this file.
00001 /* SocketConfig.h.  Generated by configure.  */
00002 /* SocketConfig.h.in.  Generated automatically from configure.in by autoheader.  */
00003 // -*- C++ -*-
00004 
00005 // (c) COPYRIGHT UCAR/HAO 1993-2002
00006 // Please read the full copyright statement in the file COPYRIGHT.
00007 
00008 #ifndef SocketConfig_h_
00009 #define SocketConfig_h_
00010 
00011 //#define SOCKET_USE_LTOA
00012 
00013 /* Define to empty if the keyword does not work.  */
00014 /* #undef const */
00015 
00016 /* Define if you have the ANSI C header files.  */
00017 #define STDC_HEADERS 1
00018 
00019 //
00020 #define _OS_HAS_SOCKLEN_T 1
00021 //
00022 #define _ACCEPT_USES_SOCKLEN_T 1
00023 //
00024 #define _GETSOCKNAME_USES_SOCKLEN_T 1
00025 
00026 /* Define if you have the strerror function.  */
00027 #define HAVE_STRERROR 1
00028 
00029 /* Define if you have the <sys/socket.h> header file.  */
00030 #define HAVE_SYS_SOCKET_H 1
00031 
00032 /* Define if you have the <sys/types.h> header file.  */
00033 #define HAVE_SYS_TYPES_H 1
00034 
00035 /* Define if you have the <unistd.h> header file.  */
00036 #define HAVE_UNISTD_H 1
00037 
00038 /* Name of package */
00039 /* #undef PACKAGE */
00040 
00041 /* Version number of package */
00042 /* #undef VERSION */
00043 
00044 
00045 // Support for the Sun Pro compiler
00046 
00047 #ifdef __SUNPRO_CC      // __SUNPRO_CC always defined for Sun CC 4.2
00048 #ifdef ansi
00049 #ifndef __STRICT_ANSI__
00050 #define __STRICT_ANSI__
00051 #endif // __STRICT_ANSI__
00052 #endif // ansi
00053 #endif // __SUNPRO_CC
00054 
00055 // Support for the Microsoft compiler
00056 
00057 #ifdef __WIN32         // __WIN32 always defined for Microsoft Visual C++ 5.0
00058 #ifdef ansi
00059 #ifndef __STRICT_ANSI__
00060 #define __STRICT_ANSI__
00061 #endif // __STRICT_ANSI__
00062 #endif // ansi
00063 #endif // __WIN32
00064 
00065 // This code take cares of getting the necessary system header files if the API is not ANSI C++
00066 
00067 #ifndef __STRICT_ANSI__
00068 #if defined (unix) && !defined(_WINDOWS) && !defined(WIN32) && !defined(_WIN32) && !defined(__NT__) && !defined(_WINDOWS)&& !defined(OS2)
00069 #include <unistd.h>
00070 #endif // unix style
00071 #if (defined (_WINDOWS) || defined(__NT__)) && !defined (unix)
00072 #include <windows.h>
00073 #include <process.h>
00074 #endif // windows style
00075 #endif // __STRICT_ANSI__
00076 
00077 
00078 #endif // SocketConfig_h_

Generated on Fri Nov 30 12:06:49 2007 for OPeNDAP Back End Server (BES) by  doxygen 1.5.1