Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f928ffd

Browse files
author
Michael Meskes
committed
Include isinf.o in libecpg if isinf() is not available on the system.
Patch done by Jiang Guiqing <[email protected]>.
1 parent 6fa51d4 commit f928ffd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/interfaces/ecpg/ecpglib/Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ LIBS := $(filter-out -lpgport, $(LIBS))
2626

2727
OBJS= execute.o typename.o descriptor.o sqlda.o data.o error.o prepare.o memory.o \
2828
connect.o misc.o path.o pgstrcasecmp.o \
29-
$(filter snprintf.o strlcpy.o, $(LIBOBJS))
29+
$(filter snprintf.o strlcpy.o isinf.o, $(LIBOBJS))
3030

3131
# thread.c is needed only for non-WIN32 implementation of path.c
3232
ifneq ($(PORTNAME), win32)
@@ -58,7 +58,11 @@ include $(top_srcdir)/src/Makefile.shlib
5858
# necessarily use the same object files as the backend uses. Instead,
5959
# symlink the source files in here and build our own object file.
6060

61+
<<<<<<< HEAD
6162
path.c pgstrcasecmp.c snprintf.c strlcpy.c thread.c: % : $(top_srcdir)/src/port/%
63+
=======
64+
path.c pgstrcasecmp.c snprintf.c strlcpy.c thread.c win32setlocale.c isinf.c: % : $(top_srcdir)/src/port/%
65+
>>>>>>> 6fc6ebf... Include isinf.o in libecpg if isinf() is not available on the system.
6266
rm -f $@ && $(LN_S) $< .
6367

6468
misc.o: misc.c $(top_builddir)/src/port/pg_config_paths.h

0 commit comments

Comments
 (0)