From 7585deb0878bca96eee9a3e00fb5726c7725831c Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Thu, 16 Dec 1999 01:25:23 +0000 Subject: 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 --- src/include/utils/builtins.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/include/utils/builtins.h') 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); -- cgit v1.2.3