00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #ifndef CONFIG_H
00027 #define CONFIG_H seen
00028
00029 #ifndef IGNORE_CONFIG_H
00030 #if defined(_WIN32)
00031
00032
00033
00034 #define __STDC__ 1
00035
00036 #pragma warning( disable : 4244 4305 4018)
00037
00038
00039
00040
00041
00042
00043
00044
00045 # if !__STDC__
00046 # error "STDC is not properly set on WIN32 build, add /Za to Project Settings / Project Options"
00047 # endif
00048
00049 #ifndef EXPAND_IN_STRING
00050 # define EXPAND_IN_STRING(x) EXPAND_IN_STRING_INTERN(x)
00051 # define EXPAND_IN_STRING_INTERN(x) #x
00052 #endif
00053
00054 #define MAJOR_VERSION 7
00055 #define MINOR_VERSION 8
00056 #define PATCH_VERSION 3
00057 #define MAJOR_VERSION_STRING EXPAND_IN_STRING(MAJOR_VERSION)
00058 #define MINOR_VERSION_STRING EXPAND_IN_STRING(MINOR_VERSION)
00059 #define PATCH_VERSION_STRING EXPAND_IN_STRING(PATCH_VERSION)
00060 #define BRLCAD_VERSION MAJOR_VERSION_STRING "." MINOR_VERSION_STRING "." PATCH_VERSION_STRING
00061 #define BRLCAD_ROOT ""
00062 #define BRLCAD_DATA ""
00063
00064 #define INSTALL_DIRECTORY "C:/brlcad" MAJOR_VERSION_STRING "_" MINOR_VERSION_STRING "_" PATCH_VERSION_STRING
00065 #define IWIDGETS_VERSION "4.0.2"
00066
00067 #define HAS_OPENGL 1
00068 #define HAVE_ACCESS 1
00069 #define HAVE_CALLOC 1
00070 #define HAVE_ERRNO_H 1
00071 #define HAVE_FCNTL_H 1
00072 #define HAVE_FLOAT_H 1
00073 #define HAVE_GETENV 1
00074 #define HAVE_PUTENV 1
00075 #define HAVE_GETHOSTNAME 1
00076 #define HAVE_GL_GL_H 1
00077 #define HAVE_IO_H 1
00078 #define HAVE_LIMITS_H 1
00079 #define HAVE_MATH_H 1
00080 #define HAVE_MATHERR 1
00081 #define HAVE_MEMORY_H 1
00082 #define HAVE_OFF_T 1
00083 #if 0
00084 #define HAVE_PWD_H 1
00085 #endif
00086 #define HAVE_REGEX_H 1
00087 #define HAVE_SETVBUF 1
00088 #define HAVE_STAT 1
00089 #define HAVE_STDARG_H 1
00090 #define HAVE_STDLIB_H 1
00091 #define HAVE_STRCHR 1
00092 #define HAVE_STRCHR 1
00093 #define HAVE_STRDUP 1
00094 #define HAVE_STRDUP_DECL 1
00095 #define HAVE_STRING_H 1
00096 #define HAVE_SYS_STAT_H 1
00097 #define HAVE_SYS_TIME 1
00098 #define HAVE_SYS_TYPES_H 1
00099 #define HAVE_TIME 1
00100 #define HAVE_TIME_H 1
00101 #define HAVE_VARARGS_H 1
00102 #define HAVE_VFORK 1
00103 #define HAVE_VPRINTF 1
00104 #define HAVE_WINSOCK_H 1
00105 #define REVERSE_IEEE yes
00106 #define USE_PROTOTYPES 1
00107
00108
00109
00110
00111 #include <windows.h>
00112 #include <io.h>
00113
00114 #define bzero(str,n) memset( str, 0, n )
00115 #define bcopy(from,to,count) memcpy( to, from, count )
00116
00117 #define isnan _isnan
00118 #define F_OK 0
00119 #define R_OK 4
00120 #define W_OK 2
00121 #define MAXPATHLEN _MAX_PATH
00122 #define O_APPEND _O_APPEND
00123 #define O_CREAT _O_CREAT
00124 #define O_EXCL _O_EXCL
00125 #define O_RDONLY _O_RDONLY
00126 #define O_RDWR _O_RDWR
00127 #define O_TRUNC _O_TRUNC
00128 #define O_WRONLY _O_WRONLY
00129 #define S_IFMT _S_IFMT
00130 #define S_IFDIR _S_IFDIR
00131 #define S_IFCHR _S_IFCHR
00132 #define S_IFREG _S_IFREG
00133 #define S_IREAD _S_IREAD
00134 #define S_IWRITE _S_IWRITE
00135 #define S_IEXEC _S_IEXEC
00136 #define access _access
00137 #define chmod _chmod
00138 #define close _close
00139 #define commit _commit
00140 #define creat _creat
00141 #define dup _dup
00142 #define dup2 _dup2
00143 #if 0
00144 #define eof _eof
00145 #endif
00146 #define fdopen _fdopen
00147 #define fileno _fileno
00148 #define fstat _fstat
00149 #define getpid _getpid
00150 #define hypot _hypot
00151 #define ioctl ioctlsocket
00152 #define isascii __isascii
00153 #define isatty _isatty
00154 #define locking _locking
00155 #define lseek _lseek
00156 #define mktemp _mktemp
00157 #define off_t _off_t
00158 #define open _open
00159 #define pclose _pclose
00160 #define pipe _pipe
00161 #define popen _popen
00162 #define putenv _putenv
00163 #define read _read
00164 #define rint(_X) (floor((_X) + 0.5))
00165 #define setmode _setmode
00166 #define snprintf _snprintf
00167 #define sopen _sopen
00168 #define stat _stat
00169 #define strcasecmp _stricmp
00170 #define strdup _strdup
00171 #define sys_errlist _sys_errlist
00172 #define sys_nerr _sys_nerr
00173 #define snprintf _snprintf
00174 #define umask _umask
00175 #define unlink _unlink
00176 #define write _write
00177 #undef DELETE
00178 #undef IN
00179 #undef OUT
00180 #undef complex
00181 #undef rad1
00182 #undef rad2
00183 #define socklen_t int
00184
00185 #endif
00186 #endif
00187
00188 #endif
00189
00190
00191
00192
00193
00194
00195
00196
00197
00198
00199