summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/global.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/global.h b/include/global.h
index a6cc561fb0a..8067fe5f38b 100644
--- a/include/global.h
+++ b/include/global.h
@@ -104,9 +104,15 @@
#define _H_STRINGS
#define _SYS_STREAM_H
#define _AIX32_CURSES
-#define longlong2double(A) my_longlong2double(A)
-double my_longlong2double(unsigned long long A);
+#define ulonglong2double(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