diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2004-03-09 16:28:44 -0500 |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2004-03-09 16:28:44 -0500 |
commit | ddb815c12542f80f42562877298a73fab39bb4ca (patch) | |
tree | 825a90988e4710274a656b8f9bf7f32b7d0827fa /Tests/SubDir | |
parent | bf699505bc7fc378abf07ec4dfa0f0cc4fb89686 (diff) | |
download | cmake-ddb815c12542f80f42562877298a73fab39bb4ca.tar.gz |
ENH: add new subdirectory exclude from top option
Diffstat (limited to 'Tests/SubDir')
-rw-r--r-- | Tests/SubDir/Executable/test.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Tests/SubDir/Executable/test.cxx b/Tests/SubDir/Executable/test.cxx index 12913e8a22..f351521794 100644 --- a/Tests/SubDir/Executable/test.cxx +++ b/Tests/SubDir/Executable/test.cxx @@ -1,8 +1,10 @@ #include <stdio.h> -#include <io.h> -#include <stdio.h> #include <stdlib.h> - +#ifdef _WIN32 +#include <io.h> +#else +#include <unistd.h> +#endif // return true if the file exists int FileExists(const char* filename) |