Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 40f158d

Browse files
committed
Add checking for strtoul. SunOS4 does not have it.
1 parent 7cf952e commit 40f158d

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/bin/pg_encoding/Makefile

+8-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# Copyright (c) 1998, PostgreSQL Global Development Group
66
#
7-
# $Header: /cvsroot/pgsql/src/bin/pg_encoding/Attic/Makefile,v 1.13 2001/02/20 19:20:28 petere Exp $
7+
# $Header: /cvsroot/pgsql/src/bin/pg_encoding/Attic/Makefile,v 1.14 2001/03/23 05:46:05 ishii Exp $
88
#
99
#-------------------------------------------------------------------------
1010

@@ -16,6 +16,13 @@ OBJS= pg_encoding.o
1616

1717
all: submake pg_encoding
1818

19+
ifdef STRTOUL
20+
OBJS+=$(top_builddir)/src/backend/port/strtoul.o
21+
22+
$(top_builddir)/src/backend/port/strtoul.o:
23+
$(MAKE) -C $(top_builddir)/src/backend/port strtoul.o
24+
endif
25+
1926
pg_encoding: $(OBJS)
2027
$(CC) $(CFLAGS) $^ $(libpq) $(LDFLAGS) $(LIBS) -o $@
2128

0 commit comments

Comments
 (0)