diff options
author | Bruce Momjian <bruce@momjian.us> | 2006-07-18 22:18:08 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2006-07-18 22:18:08 +0000 |
commit | 11b7aecbd4895897fcb6eb5b4d8a6dfb4df85305 (patch) | |
tree | 08b53c40ba46150501cc72b18a9dbda1330420b7 /src | |
parent | 5ca68299beb7cc71f67a72a75f7e0aa2b137db13 (diff) | |
download | postgresql-11b7aecbd4895897fcb6eb5b4d8a6dfb4df85305.tar.gz postgresql-11b7aecbd4895897fcb6eb5b4d8a6dfb4df85305.zip |
The Win32 DEF files that are generated for libpq contain the attribute
"DESCRIPTION", which is actually only allowed for device drivers. The
compilers ignore it with a warning - if we remove them, we get rid of
the warning.
Magnus Hagander
Diffstat (limited to 'src')
-rw-r--r-- | src/interfaces/libpq/Makefile | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/interfaces/libpq/Makefile b/src/interfaces/libpq/Makefile index 1fa17b461b7..24218d12b70 100644 --- a/src/interfaces/libpq/Makefile +++ b/src/interfaces/libpq/Makefile @@ -5,7 +5,7 @@ # Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group # Portions Copyright (c) 1994, Regents of the University of California # -# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.145 2006/05/07 01:05:11 momjian Exp $ +# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.146 2006/07/18 22:18:08 momjian Exp $ # #------------------------------------------------------------------------- @@ -104,21 +104,18 @@ def-files: $(srcdir)/libpqdll.def $(srcdir)/libpqddll.def $(srcdir)/blibpqdll.de $(srcdir)/libpqdll.def: exports.txt echo '; DEF file for MS VC++' > $@ echo 'LIBRARY LIBPQ' >> $@ - echo 'DESCRIPTION "PostgreSQL Client Library"' >> $@ echo 'EXPORTS' >> $@ sed -e '/^#/d' -e 's/^\(.* \)\([0-9][0-9]*\)/ \1@ \2/' < $< >> $@ $(srcdir)/libpqddll.def: exports.txt echo '; DEF file for MS VC++' > $@ echo 'LIBRARY LIBPQD' >> $@ - echo 'DESCRIPTION "PostgreSQL Client Library"' >> $@ echo 'EXPORTS' >> $@ sed -e '/^#/d' -e 's/^\(.* \)\([0-9][0-9]*\)/ \1@ \2/' < $< >> $@ $(srcdir)/blibpqdll.def: exports.txt echo '; DEF file for Borland C++ Builder' > $@ echo 'LIBRARY BLIBPQ' >> $@ - echo 'DESCRIPTION "PostgreSQL Client Library"' >> $@ echo 'EXPORTS' >> $@ sed -e '/^#/d' -e 's/^\(.* \)\([0-9][0-9]*\)/ _\1@ \2/' < $< >> $@ echo '' >> $@ |