summaryrefslogtreecommitdiff
path: root/ext/mysql/libmysql/strtoll.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mysql/libmysql/strtoll.c')
-rw-r--r--ext/mysql/libmysql/strtoll.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/ext/mysql/libmysql/strtoll.c b/ext/mysql/libmysql/strtoll.c
new file mode 100644
index 0000000000..3b8f9bf368
--- /dev/null
+++ b/ext/mysql/libmysql/strtoll.c
@@ -0,0 +1,11 @@
+/* Copyright (C) 1996 TCX DataKonsult AB & Monty Program KB & Detron HB
+ For a more info consult the file COPYRIGHT distributed with this file */
+
+/* This is defines strtoll() if neaded */
+
+#include <global.h>
+#include <m_string.h>
+#if !defined(HAVE_STRTOULL) && defined(HAVE_LONG_LONG)
+#define LONGLONG
+#include "strto.c"
+#endif