summaryrefslogtreecommitdiff
path: root/libtiff
diff options
context:
space:
mode:
authorRoger Leigh <rleigh@codelibre.net>2021-01-31 21:13:48 +0000
committerRoger Leigh <rleigh@codelibre.net>2021-01-31 21:13:48 +0000
commita8d63da69ee41a48d01c756b134939dd080e279a (patch)
treed230f8a09074cbafaafe0b16911b5ca89f994bf9 /libtiff
parent8ac5d3bb77f7e9b0325465ba04ad5f5bb9bea925 (diff)
downloadlibtiff-git-a8d63da69ee41a48d01c756b134939dd080e279a.tar.gz
Use C99 strtol, strtoul, strtoll and strtoull
Diffstat (limited to 'libtiff')
-rw-r--r--libtiff/tif_config.h.cmake.in12
-rw-r--r--libtiff/tif_config.vc.h6
2 files changed, 0 insertions, 18 deletions
diff --git a/libtiff/tif_config.h.cmake.in b/libtiff/tif_config.h.cmake.in
index dedc1675..00e051a9 100644
--- a/libtiff/tif_config.h.cmake.in
+++ b/libtiff/tif_config.h.cmake.in
@@ -65,18 +65,6 @@
/* Define to 1 if you have the <strings.h> header file. */
#cmakedefine HAVE_STRINGS_H 1
-/* Define to 1 if you have the `strtol' function. */
-#cmakedefine HAVE_STRTOL 1
-
-/* Define to 1 if you have the `strtoll' function. */
-#cmakedefine HAVE_STRTOLL 1
-
-/* Define to 1 if you have the `strtoul' function. */
-#cmakedefine HAVE_STRTOUL 1
-
-/* Define to 1 if you have the `strtoull' function. */
-#cmakedefine HAVE_STRTOULL 1
-
/* Define to 1 if you have the <sys/time.h> header file. */
#cmakedefine HAVE_SYS_TIME_H 1
diff --git a/libtiff/tif_config.vc.h b/libtiff/tif_config.vc.h
index 84b650da..023c9641 100644
--- a/libtiff/tif_config.vc.h
+++ b/libtiff/tif_config.vc.h
@@ -71,12 +71,6 @@
# else
# define HAVE_SNPRINTF 1
# endif
-# define HAVE_STRTOL 1
-# define HAVE_STRTOUL 1
-# if _MSC_VER >= 1900 /* Visual Studio 2015 added strtoll/strtoull */
-# define HAVE_STRTOLL 1
-# define HAVE_STRTOULL 1
-# endif
#endif
/* Define to 1 if your processor stores words with the most significant byte