aboutsummaryrefslogtreecommitdiff
path: root/src/include/utils/builtins.h
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1999-12-16 01:25:23 +0000
committerBruce Momjian <bruce@momjian.us>1999-12-16 01:25:23 +0000
commit7585deb0878bca96eee9a3e00fb5726c7725831c (patch)
treeabbc9add268b6fbc32af0871f8d14f804681747b /src/include/utils/builtins.h
parent9805abb0fb1d2d57834a233d1a34279757d3f068 (diff)
downloadpostgresql-7585deb0878bca96eee9a3e00fb5726c7725831c.tar.gz
postgresql-7585deb0878bca96eee9a3e00fb5726c7725831c.zip
I have done the QNX4 port with the current source tree. The number of
backend/Makefiles to be patched could significantly be reduced since they have been adopted to the QNX4 needs. Andreas Kardos
Diffstat (limited to 'src/include/utils/builtins.h')
-rw-r--r--src/include/utils/builtins.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/include/utils/builtins.h b/src/include/utils/builtins.h
index 0b24dbab3fe..94a1b61ffc0 100644
--- a/src/include/utils/builtins.h
+++ b/src/include/utils/builtins.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: builtins.h,v 1.91 1999/11/25 01:28:07 wieck Exp $
+ * $Id: builtins.h,v 1.92 1999/12/16 01:25:14 momjian Exp $
*
* NOTES
* This should normally only be included by fmgr.h.
@@ -155,6 +155,11 @@ extern int namestrcmp(Name name, char *str);
#define ltoa pg_ltoa
#endif /* hpux */
extern int32 pg_atoi(char *s, int size, int c);
+/* XXX hack. QNX has itoa and ltoa (with different arguments) already. */
+#ifdef __QNX__
+#define itoa pg_itoa
+#define ltoa pg_ltoa
+#endif /* QNX */
extern void itoa(int i, char *a);
extern void ltoa(int32 l, char *a);