summaryrefslogtreecommitdiff
path: root/nt/config.nt
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2011-04-28 00:14:34 +0300
committerEli Zaretskii <eliz@gnu.org>2011-04-28 00:14:34 +0300
commitfc3b729195fbe5297aa23320f83adb11225b6ded (patch)
tree287175524f95c436eb626353841415058458e3e3 /nt/config.nt
parent841a157789735c330ff940080edadcea6846fff0 (diff)
downloademacs-fc3b729195fbe5297aa23320f83adb11225b6ded.tar.gz
Support inttypes.h and strtoumax in non-MinGW builds on Windows.
nt/inc/inttypes.h: New file. nt/config.nt (HAVE_DECL_STRTOULL, HAVE_DECL_STRTOUMAX) (HAVE_STRTOULL, HAVE_STRTOUMAX): New macros.
Diffstat (limited to 'nt/config.nt')
-rw-r--r--nt/config.nt14
1 files changed, 14 insertions, 0 deletions
diff --git a/nt/config.nt b/nt/config.nt
index 74217c9c048..a159234be7d 100644
--- a/nt/config.nt
+++ b/nt/config.nt
@@ -299,6 +299,20 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
/* Define to 1 if you have the `localtime_r' function. */
#undef HAVE_LOCALTIME_R
+/* Define to 1 if you have the declaration of `strtoull', and to 0 if you
+ don't. */
+#define HAVE_DECL_STRTOULL 1
+
+/* Define to 1 if you have the declaration of `strtoumax', and to 0 if you
+ don't. */
+#define HAVE_DECL_STRTOUMAX 1
+
+/* Define to 1 if you have the `strtoull' function. */
+#define HAVE_STRTOULL 1
+
+/* Define to 1 if you have the `strtoumax' function. */
+#define HAVE_STRTOUMAX 1
+
/* Define if you have the 'wchar_t' type. */
#define HAVE_WCHAR_T 1