summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xConfigure11
-rw-r--r--hints/os2.sh2
-rw-r--r--os2/os2ish.h2
3 files changed, 13 insertions, 2 deletions
diff --git a/Configure b/Configure
index bae9ec142d..b4eeb1f0cf 100755
--- a/Configure
+++ b/Configure
@@ -20,7 +20,7 @@
# $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $
#
-# Generated on Tue Sep 12 17:23:02 EET DST 2000 [metaconfig 3.0 PL70]
+# Generated on Tue Oct 3 05:08:05 EET DST 2000 [metaconfig 3.0 PL70]
# (with additional metaconfig patches by perlbug@perl.org)
cat >/tmp/c1$$ <<EOF
@@ -11613,6 +11613,9 @@ EOM
#ifdef __hpux
#define strtoll __strtoll
#endif
+#ifdef __EMX__
+#define strtoll _strtoll
+#endif
#include <stdio.h>
extern long long int strtoll(char *s, char **, int);
static int bad = 0;
@@ -11639,13 +11642,17 @@ int main() {
EOCP
set try
if eval $compile; then
- case "`./try`" in
+ yyy=`./try`
+ case "$yyy" in
ok) echo "Your strtoll() seems to be working okay." ;;
*) cat <<EOM >&4
Your strtoll() doesn't seem to be working okay.
EOM
d_strtoll="$undef"
;;
+ else
+ echo "(I can't seem to compile the test program--assuming it doesn't)"
+ d_strtoll="$undef"
esac
fi
;;
diff --git a/hints/os2.sh b/hints/os2.sh
index 6d33385e56..7a99de0e08 100644
--- a/hints/os2.sh
+++ b/hints/os2.sh
@@ -249,6 +249,8 @@ nm_opt='-p'
####### We define these functions ourselves
+d_strtoll='define'
+d_strtoull='define'
d_getprior='define'
d_setprior='define'
diff --git a/os2/os2ish.h b/os2/os2ish.h
index d6bf2df65b..c9719e65bd 100644
--- a/os2/os2ish.h
+++ b/os2/os2ish.h
@@ -271,6 +271,8 @@ char *my_tmpnam (char *);
#define isatty _isterm
#define rand random
#define srand srandom
+#define strtoll _strtoll
+#define strtoull _strtoull
/*
* fwrite1() should be a routine with the same calling sequence as fwrite(),