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

Commit 11b7aec

Browse files
committed
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
1 parent 5ca6829 commit 11b7aec

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/interfaces/libpq/Makefile

+1-4
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
66
# Portions Copyright (c) 1994, Regents of the University of California
77
#
8-
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.145 2006/05/07 01:05:11 momjian Exp $
8+
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.146 2006/07/18 22:18:08 momjian Exp $
99
#
1010
#-------------------------------------------------------------------------
1111

@@ -104,21 +104,18 @@ def-files: $(srcdir)/libpqdll.def $(srcdir)/libpqddll.def $(srcdir)/blibpqdll.de
104104
$(srcdir)/libpqdll.def: exports.txt
105105
echo '; DEF file for MS VC++' > $@
106106
echo 'LIBRARY LIBPQ' >> $@
107-
echo 'DESCRIPTION "PostgreSQL Client Library"' >> $@
108107
echo 'EXPORTS' >> $@
109108
sed -e '/^#/d' -e 's/^\(.* \)\([0-9][0-9]*\)/ \1@ \2/' < $< >> $@
110109

111110
$(srcdir)/libpqddll.def: exports.txt
112111
echo '; DEF file for MS VC++' > $@
113112
echo 'LIBRARY LIBPQD' >> $@
114-
echo 'DESCRIPTION "PostgreSQL Client Library"' >> $@
115113
echo 'EXPORTS' >> $@
116114
sed -e '/^#/d' -e 's/^\(.* \)\([0-9][0-9]*\)/ \1@ \2/' < $< >> $@
117115

118116
$(srcdir)/blibpqdll.def: exports.txt
119117
echo '; DEF file for Borland C++ Builder' > $@
120118
echo 'LIBRARY BLIBPQ' >> $@
121-
echo 'DESCRIPTION "PostgreSQL Client Library"' >> $@
122119
echo 'EXPORTS' >> $@
123120
sed -e '/^#/d' -e 's/^\(.* \)\([0-9][0-9]*\)/ _\1@ \2/' < $< >> $@
124121
echo '' >> $@

0 commit comments

Comments
 (0)