summaryrefslogtreecommitdiff
path: root/configure.com
diff options
context:
space:
mode:
Diffstat (limited to 'configure.com')
-rw-r--r--configure.com19
1 files changed, 19 insertions, 0 deletions
diff --git a/configure.com b/configure.com
index 5b8ccbc302..13b0d17af4 100644
--- a/configure.com
+++ b/configure.com
@@ -3596,6 +3596,24 @@ $ tmp = "strtoll"
$ GOSUB inlibc
$ d_strtoll = tmp
$!
+$! Check for strtoq
+$!
+$ OS
+$ WS "#if defined(__DECC) || defined(__DECCXX)"
+$ WS "#include <stdlib.h>"
+$ WS "#endif"
+$ WS "#include <string.h>"
+$ WS "int main()"
+$ WS "{"
+$ WS "__int64 result;"
+$ WS "result = strtoq(""123123"", NULL, 10);"
+$ WS "exit(0);"
+$ WS "}"
+$ CS
+$ tmp = "strtoq"
+$ GOSUB inlibc
+$ d_strtoq = tmp
+$!
$! Check for strtold
$!
$ OS
@@ -5004,6 +5022,7 @@ $ WC "d_strtod='define'"
$ WC "d_strtol='define'"
$ WC "d_strtold='" + d_strtold + "'"
$ WC "d_strtoll='" + d_strtoll + "'"
+$ WC "d_strtoq='define'"
$ WC "d_strtoul='define'"
$ WC "d_strtoull='" + d_strtoull + "'"
$ WC "d_strtouq='" + d_strtouq + "'"