aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bin/psql/bcc32.mak1
-rw-r--r--src/interfaces/libpq/bcc32.mak1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/psql/bcc32.mak b/src/bin/psql/bcc32.mak
index 98bd4045782..fd2a1cd2679 100644
--- a/src/bin/psql/bcc32.mak
+++ b/src/bin/psql/bcc32.mak
@@ -148,6 +148,7 @@ LINK32_OBJS = $(LINK32_OBJS) "..\..\interfaces\libpq\Debug\blibpqddll.lib"
LINK32_OBJS = $(LINK32_OBJS) "..\..\interfaces\libpq\Release\blibpqdll.lib"
!ENDIF
+# Have to use \# so # isn't treated as a comment, but MSVC doesn't like this
"..\..\port\pg_config_paths.h": win32.mak
echo \#define PGBINDIR "" >$@
echo \#define PGSHAREDIR "" >>$@
diff --git a/src/interfaces/libpq/bcc32.mak b/src/interfaces/libpq/bcc32.mak
index 8649998d4a6..91ce0105c78 100644
--- a/src/interfaces/libpq/bcc32.mak
+++ b/src/interfaces/libpq/bcc32.mak
@@ -142,6 +142,7 @@ config: ..\..\include\pg_config.h pthread.h pg_config_paths.h
pthread.h: pthread.h.win32
copy pthread.h.win32 pthread.h
+# Have to use \# so # isn't treated as a comment, but MSVC doesn't like this
pg_config_paths.h: bcc32.mak
echo \#define SYSCONFDIR "" > pg_config_paths.h