]> granicus.if.org Git - postgresql/commitdiff
Ooops, forgot about adding -DFRONTEND.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 13 Oct 2007 23:22:46 +0000 (23:22 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 13 Oct 2007 23:22:46 +0000 (23:22 +0000)
src/tools/msvc/Mkvcbuild.pm

index 2fce296d93076e8186e2563fa3d4a8d3425655d4..a3fe5fc4e0e9c65f4224dfe3e973405e8e7f3a30 100644 (file)
@@ -3,7 +3,7 @@ package Mkvcbuild;
 #
 # Package that generates build files for msvc build
 #
-# $PostgreSQL: pgsql/src/tools/msvc/Mkvcbuild.pm,v 1.22 2007/10/13 22:55:38 tgl Exp $
+# $PostgreSQL: pgsql/src/tools/msvc/Mkvcbuild.pm,v 1.23 2007/10/13 23:22:46 tgl Exp $
 #
 use Carp;
 use Win32;
@@ -178,6 +178,7 @@ sub mkvcbuild
     # src/bin
     my $initdb = AddSimpleFrontend('initdb');
     $initdb->AddIncludeDir('src\interfaces\libpq');
+    $initdb->AddDefine('FRONTEND');
     $initdb->AddLibrary('wsock32.lib ws2_32.lib');
 
     my $pgconfig = AddSimpleFrontend('pg_config');