blob: 8de009bcc9373865255b4ccb9cea85a2dfde7760 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
$NetBSD: patch-src_backend_utils_adt_datetime.c,v 1.1 2015/01/23 15:06:01 joerg Exp $
--- src/backend/utils/adt/datetime.c.orig 2014-07-21 19:12:31.000000000 +0000
+++ src/backend/utils/adt/datetime.c
@@ -30,6 +30,9 @@
#include "utils/memutils.h"
#include "utils/tzparser.h"
+#if defined(__NetBSD__)
+#define strtoi pg_strtoi
+#endif
static int DecodeNumber(int flen, char *field, bool haveTextMonth,
int fmask, int *tmask,
|