summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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 d1b3c516555..8b899ff17ed 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