From e967e5eb4bf2a46bb0d7f920fd4e8ffaa6f970fe Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Sat, 15 Jun 2013 02:10:47 +0300 Subject: At last! MSVC precompiles headers and can use them. --- test cases/common/13 pch/prog.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'test cases') diff --git a/test cases/common/13 pch/prog.c b/test cases/common/13 pch/prog.c index 23125f5f3..0ce3d0a24 100644 --- a/test cases/common/13 pch/prog.c +++ b/test cases/common/13 pch/prog.c @@ -1,6 +1,4 @@ -#if defined(_MSC_VER) -#include"prog.pch" -#endif +// No includes here, they need to come from the PCH void func() { fprintf(stdout, "This is a function that fails if stdio is not #included.\n"); @@ -9,3 +7,4 @@ void func() { int main(int argc, char **argv) { return 0; } + -- cgit v1.2.3