summaryrefslogtreecommitdiff
path: root/ext/mysql/libmysql/strtoull.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mysql/libmysql/strtoull.c')
-rw-r--r--ext/mysql/libmysql/strtoull.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/ext/mysql/libmysql/strtoull.c b/ext/mysql/libmysql/strtoull.c
new file mode 100644
index 0000000000..fbb23e0f20
--- /dev/null
+++ b/ext/mysql/libmysql/strtoull.c
@@ -0,0 +1,12 @@
+/* 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 strtoull() */
+
+#include <global.h>
+#include <m_string.h>
+#if !defined(HAVE_STRTOULL) && defined(HAVE_LONG_LONG)
+#define UNSIGNED
+#define LONGLONG
+#include "strto.c"
+#endif