Skip to content

Commit 401e13a

Browse files
author
Wu Zixing
committed
#include <cctype> for std:tolower
1 parent d3ea8dd commit 401e13a

File tree

3 files changed

+27
-26
lines changed

3 files changed

+27
-26
lines changed

src/g3dxml/libxml2/config.h

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
/* Define if getaddrinfo is there */
2-
#define HAVE_GETADDRINFO
2+
/* #undef HAVE_GETADDRINFO */
33

44
/* Define to 1 if you have the <ansidecl.h> header file. */
55
/* #undef HAVE_ANSIDECL_H */
66

77
/* Define to 1 if you have the <arpa/inet.h> header file. */
8-
#define HAVE_ARPA_INET_H 1
8+
/* #undef HAVE_ARPA_INET_H */
99

1010
/* Define to 1 if you have the <arpa/nameser.h> header file. */
11-
#define HAVE_ARPA_NAMESER_H 1
11+
/* #undef HAVE_ARPA_NAMESER_H */
1212

1313
/* Whether struct sockaddr::__ss_family exists */
1414
/* #undef HAVE_BROKEN_SS_FAMILY */
@@ -20,10 +20,10 @@
2020
#define HAVE_CTYPE_H 1
2121

2222
/* Define to 1 if you have the <dirent.h> header file. */
23-
#define HAVE_DIRENT_H 1
23+
/* #undef HAVE_DIRENT_H */
2424

2525
/* Define to 1 if you have the <dlfcn.h> header file. */
26-
#define HAVE_DLFCN_H 1
26+
/* #undef HAVE_DLFCN_H */
2727

2828
/* Have dlopen based dso */
2929
/* #undef HAVE_DLOPEN */
@@ -38,7 +38,7 @@
3838
#define HAVE_FCNTL_H 1
3939

4040
/* Define to 1 if you have the `finite' function. */
41-
#define HAVE_FINITE 1
41+
/* #undef HAVE_FINITE */
4242

4343
/* Define to 1 if you have the <float.h> header file. */
4444
#define HAVE_FLOAT_H 1
@@ -59,7 +59,7 @@
5959
#define HAVE_FTIME 1
6060

6161
/* Define to 1 if you have the `gettimeofday' function. */
62-
#define HAVE_GETTIMEOFDAY 1
62+
/* #undef HAVE_GETTIMEOFDAY */
6363

6464
/* Define to 1 if you have the <ieeefp.h> header file. */
6565
/* #undef HAVE_IEEEFP_H */
@@ -83,7 +83,7 @@
8383
#define HAVE_LOCALTIME 1
8484

8585
/* Define to 1 if you have the <malloc.h> header file. */
86-
/* #undef HAVE_MALLOC_H */
86+
#define HAVE_MALLOC_H 1
8787

8888
/* Define to 1 if you have the <math.h> header file. */
8989
#define HAVE_MATH_H 1
@@ -98,19 +98,19 @@
9898
/* #undef HAVE_NDIR_H */
9999

100100
/* Define to 1 if you have the <netdb.h> header file. */
101-
#define HAVE_NETDB_H 1
101+
/* #undef HAVE_NETDB_H */
102102

103103
/* Define to 1 if you have the <netinet/in.h> header file. */
104-
#define HAVE_NETINET_IN_H 1
104+
/* #undef HAVE_NETINET_IN_H */
105105

106106
/* Define to 1 if you have the `printf' function. */
107107
#define HAVE_PRINTF 1
108108

109109
/* Define if <pthread.h> is there */
110-
#define HAVE_PTHREAD_H
110+
/* #undef HAVE_PTHREAD_H */
111111

112112
/* Define to 1 if you have the <resolv.h> header file. */
113-
#define HAVE_RESOLV_H 1
113+
/* #undef HAVE_RESOLV_H */
114114

115115
/* Have shl_load based dso */
116116
/* #undef HAVE_SHLLOAD */
@@ -134,7 +134,7 @@
134134
#define HAVE_STAT 1
135135

136136
/* Define to 1 if you have the `stat64' function. */
137-
#define HAVE_STAT64 1
137+
/* #undef HAVE_STAT64 */
138138

139139
/* Define to 1 if you have the <stdarg.h> header file. */
140140
#define HAVE_STDARG_H 1
@@ -155,30 +155,30 @@
155155
#define HAVE_STRFTIME 1
156156

157157
/* Define to 1 if you have the <strings.h> header file. */
158-
#define HAVE_STRINGS_H 1
158+
/* #undef HAVE_STRINGS_H */
159159

160160
/* Define to 1 if you have the <string.h> header file. */
161161
#define HAVE_STRING_H 1
162162

163163
/* Define to 1 if you have the `strndup' function. */
164-
#define HAVE_STRNDUP 1
164+
/* #undef HAVE_STRNDUP */
165165

166166
/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
167167
*/
168-
#define HAVE_SYS_DIR_H 1
168+
/* #undef HAVE_SYS_DIR_H */
169169

170170
/* Define to 1 if you have the <sys/mman.h> header file. */
171-
#define HAVE_SYS_MMAN_H 1
171+
/* #undef HAVE_SYS_MMAN_H */
172172

173173
/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
174174
*/
175175
/* #undef HAVE_SYS_NDIR_H */
176176

177177
/* Define to 1 if you have the <sys/select.h> header file. */
178-
#define HAVE_SYS_SELECT_H 1
178+
/* #undef HAVE_SYS_SELECT_H */
179179

180180
/* Define to 1 if you have the <sys/socket.h> header file. */
181-
#define HAVE_SYS_SOCKET_H 1
181+
/* #undef HAVE_SYS_SOCKET_H */
182182

183183
/* Define to 1 if you have the <sys/stat.h> header file. */
184184
#define HAVE_SYS_STAT_H 1
@@ -187,7 +187,7 @@
187187
#define HAVE_SYS_TIMEB_H 1
188188

189189
/* Define to 1 if you have the <sys/time.h> header file. */
190-
#define HAVE_SYS_TIME_H 1
190+
/* #undef HAVE_SYS_TIME_H */
191191

192192
/* Define to 1 if you have the <sys/types.h> header file. */
193193
#define HAVE_SYS_TYPES_H 1
@@ -196,7 +196,7 @@
196196
#define HAVE_TIME_H 1
197197

198198
/* Define to 1 if you have the <unistd.h> header file. */
199-
#define HAVE_UNISTD_H 1
199+
/* #undef HAVE_UNISTD_H */
200200

201201
/* Whether va_copy() is available */
202202
#define HAVE_VA_COPY 1
@@ -217,13 +217,13 @@
217217
/* #undef HAVE_ZLIB_H */
218218

219219
/* Define to 1 if you have the `_stat' function. */
220-
/* #undef HAVE__STAT */
220+
#define HAVE__STAT 1
221221

222222
/* Define to 1 if you have the `_stat64' function. */
223-
/* #undef HAVE__STAT64 */
223+
#define HAVE__STAT64 1
224224

225225
/* Whether __va_copy() is available */
226-
#define HAVE___VA_COPY 1
226+
/* #undef HAVE___VA_COPY */
227227

228228
/* Name of package */
229229
#define PACKAGE "g3dlibxml2"
@@ -244,7 +244,7 @@
244244
#define PACKAGE_VERSION ""
245245

246246
/* Support for IPv6 */
247-
#define SUPPORT_IP6
247+
/* #undef SUPPORT_IP6 */
248248

249249
/* Version number of package */
250250
#define VERSION "2.6.27"

src/g3dxml/libxml2/include/libxml/xmlversion.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ XMLPUBFUN void XMLCALL xmlCheckVersion(int version);
369369
*
370370
* the string suffix used by dynamic modules (usually shared libraries)
371371
*/
372-
#define LIBXML_MODULE_EXTENSION ".so"
372+
#define LIBXML_MODULE_EXTENSION ".dll"
373373
#endif
374374

375375
/**

src/geo3dml/Utils.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#include <geo3dml/Utils.h>
22
#include <cmath>
3+
#include <cctype>
34

45
bool geo3dml::IsZero(double v) {
56
return std::fabs(v) <= 10e-6;

0 commit comments

Comments
 (0)