summaryrefslogtreecommitdiff
path: root/include/my_global.h
diff options
context:
space:
mode:
authormonty@mashka.mysql.fi <>2002-10-29 23:54:37 +0200
committermonty@mashka.mysql.fi <>2002-10-29 23:54:37 +0200
commitbb7f37ab2eacb6303d5708538578742a66627151 (patch)
tree7459abcf2b29e1c59d1ecb93ef0a42fdc01adbfb /include/my_global.h
parent245218284495701846f49d986bc91997b97563d6 (diff)
parent5343d4c96993e31a3377be07e9c97aee27784461 (diff)
downloadmariadb-git-bb7f37ab2eacb6303d5708538578742a66627151.tar.gz
merge
Diffstat (limited to 'include/my_global.h')
-rw-r--r--include/my_global.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/my_global.h b/include/my_global.h
index 3f018ab73cb..5a8e3b2cba7 100644
--- a/include/my_global.h
+++ b/include/my_global.h
@@ -119,7 +119,16 @@
#define _H_STRINGS
#define _SYS_STREAM_H
/* #define _AIX32_CURSES */ /* XXX: this breaks AIX 4.3.3 (others?). */
+#define ulonglong2double(A) my_ulonglong2double(A)
+#define my_off_t2double(A) my_ulonglong2double(A)
+#ifdef __cplusplus
+extern "C" {
#endif
+double my_ulonglong2double(unsigned long long A);
+#ifdef __cplusplus
+}
+#endif
+#endif /* _AIX */
#ifdef HAVE_BROKEN_SNPRINTF /* HPUX 10.20 don't have this defined */
#undef HAVE_SNPRINTF