diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2013-06-15 02:10:47 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2013-06-15 02:10:47 +0300 |
commit | e967e5eb4bf2a46bb0d7f920fd4e8ffaa6f970fe (patch) | |
tree | 7c0ea51055f1997965b7bc4be27202e9b85097ab /test cases/common/13 pch | |
parent | cbd4f58302825a64435a5af70de52439b0fba601 (diff) | |
download | meson-e967e5eb4bf2a46bb0d7f920fd4e8ffaa6f970fe.zip meson-e967e5eb4bf2a46bb0d7f920fd4e8ffaa6f970fe.tar.gz meson-e967e5eb4bf2a46bb0d7f920fd4e8ffaa6f970fe.tar.bz2 |
At last! MSVC precompiles headers and can use them.
Diffstat (limited to 'test cases/common/13 pch')
-rw-r--r-- | test cases/common/13 pch/prog.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test cases/common/13 pch/prog.c b/test cases/common/13 pch/prog.c index 23125f5..0ce3d0a 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; } + |