Remove HAVE_STDLIB_H check and replace stdlib.h by cstdlib
This commit is contained in:
parent
aded1965c5
commit
d55b2b1b65
@ -57,9 +57,6 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// Define if you have the <stdlib.h> header file.
|
||||
#cmakedefine EXV_HAVE_STDLIB_H
|
||||
|
||||
// Define if you have the strerror function.
|
||||
#cmakedefine EXV_HAVE_STRERROR
|
||||
|
||||
|
||||
@ -65,9 +65,6 @@
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#undef HAVE_STDINT_H
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#undef HAVE_STDLIB_H
|
||||
|
||||
/* Define to 1 if you have the `strchr' function. */
|
||||
#undef HAVE_STRCHR
|
||||
|
||||
|
||||
@ -36,7 +36,6 @@ check_include_file( "memory.h" EXV_HAVE_MEMORY_H )
|
||||
check_include_file( "process.h" EXV_HAVE_PROCESS_H )
|
||||
check_include_file( "stdbool.h" EXV_HAVE_STDBOOL_H )
|
||||
check_include_file( "stdint.h" EXV_HAVE_STDINT_H )
|
||||
check_include_file( "stdlib.h" EXV_HAVE_STDLIB_H )
|
||||
check_include_file( "strings.h" EXV_HAVE_STRINGS_H )
|
||||
check_include_file( "sys/mman.h" EXV_HAVE_SYS_MMAN_H )
|
||||
check_include_file( "sys/stat.h" EXV_HAVE_SYS_STAT_H )
|
||||
|
||||
@ -82,9 +82,6 @@
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
/* #undef EXV_HAVE_STDINT_H */
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
/* #undef EXV_HAVE_STDLIB_H */
|
||||
|
||||
/* Define to 1 if you have the `strerror' function. */
|
||||
#define EXV_HAVE_STRERROR 1
|
||||
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
#include <exiv2/exiv2.hpp>
|
||||
|
||||
#include <iostream>
|
||||
#include <stdlib.h>
|
||||
#include <cstdlib>
|
||||
|
||||
void httpcon(const std::string& url, bool useHttp1_0 = false) {
|
||||
Exiv2::Dictionary response;
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
#include <vector>
|
||||
#include <set>
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <cstdlib>
|
||||
#include <limits.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
#include <algorithm>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <cstdlib>
|
||||
#include <time.h>
|
||||
#include <string.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
@ -47,7 +47,7 @@
|
||||
|
||||
// stdin handler includes
|
||||
#ifndef _MSC_VER
|
||||
#include <stdlib.h>
|
||||
#include <cstdlib>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#if defined(__CYGWIN__) || defined(__MINGW__)
|
||||
|
||||
@ -37,7 +37,7 @@
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <cstdlib>
|
||||
#include <time.h>
|
||||
#include <sys/stat.h>
|
||||
#include <string.h>
|
||||
|
||||
@ -33,7 +33,7 @@ https://github.com/benhoyt/inih
|
||||
#include <string.h>
|
||||
|
||||
#if !INI_USE_STACK
|
||||
#include <stdlib.h>
|
||||
#include <cstdlib>
|
||||
#endif
|
||||
|
||||
#define MAX_SECTION 50
|
||||
|
||||
@ -154,7 +154,7 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
#include <stdlib.h>
|
||||
#include <cstdlib>
|
||||
#include <math.h>
|
||||
#if defined(__cplusplus)
|
||||
#include <ios>
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
|
||||
#include <time.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <cstdlib>
|
||||
#include <locale.h>
|
||||
#include <errno.h>
|
||||
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
|
||||
#include <time.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <cstdlib>
|
||||
#include <locale.h>
|
||||
#include <errno.h>
|
||||
|
||||
|
||||
2
xmpsdk/third-party/expat/lib/expat.h
vendored
2
xmpsdk/third-party/expat/lib/expat.h
vendored
@ -14,7 +14,7 @@
|
||||
#define XML_SetExternalEntityRefHandlerArg XML_SetExternalEntRefHandlerArg
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <cstdlib>
|
||||
#include "expat_external.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Loading…
Reference in New Issue
Block a user