summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorMagnus Hagander2007-10-03 11:57:36 +0000
committerMagnus Hagander2007-10-03 11:57:36 +0000
commit6ddbc1164d221a54fccdc2cdb96bc8a921734c10 (patch)
treefb5bd2d13b65f050d6e668b7d4f5ac02bba2fc8f /src/tools
parentebade3f5bfb032fa5e6e6c5f39e5e095f0228c39 (diff)
Make ECPG regression tests run with -c only for array_of_struct.pgc
on MSVC. Fix strange nonstandard version of __stdcall specifyer in thread tests on win32.
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/msvc/ecpg_regression.proj5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tools/msvc/ecpg_regression.proj b/src/tools/msvc/ecpg_regression.proj
index a026c5433c4..cccd6bce2ed 100644
--- a/src/tools/msvc/ecpg_regression.proj
+++ b/src/tools/msvc/ecpg_regression.proj
@@ -33,9 +33,12 @@
<CreateProperty Value="-C INFORMIX -r no_indicator" Condition="'%(Pgc.FileName)'=='rnull'">
<Output TaskParameter="Value" PropertyName="ECPGPARAM" />
</CreateProperty>
+ <CreateProperty Value="-c" Condition="'%(Pgc.FileName)'=='array_of_struct'">
+ <Output TaskParameter="Value" PropertyName="ECPGPARAM" />
+ </CreateProperty>
<!-- Run ECPG and the Visual C++ compiler on the files. Don't bother with dependency check between the steps -->
- <Exec WorkingDirectory="%(Pgc.RelativeDir)" Command="$(OUTDIR)ecpg\ecpg -c -I ../../include --regression $(ECPGPARAM) -o %(Pgc.Filename).c %(Pgc.Filename).pgc" />
+ <Exec WorkingDirectory="%(Pgc.RelativeDir)" Command="$(OUTDIR)ecpg\ecpg -I ../../include --regression $(ECPGPARAM) -o %(Pgc.Filename).c %(Pgc.Filename).pgc" />
<Exec WorkingDirectorY="%(Pgc.RelativeDir)" Command="cl /nologo %(Pgc.FileName).c /TC /MD$(DEBUGLIB) /DENABLE_THREAD_SAFETY /DWIN32 /DWIN32_ONLY_COMPILER /I. /I..\..\include /I..\..\..\libpq /I..\..\..\..\include /link /defaultlib:$(OUTDIR)libecpg\libecpg.lib /defaultlib:$(OUTDIR)libecpg_compat\libecpg_compat.lib /defaultlib:$(OUTDIR)libpgtypes\libpgtypes.lib" />
</Target>