diff options
author | MyungJoo Ham <myungjoo.ham@samsung.com> | 2017-10-11 15:16:57 +0900 |
---|---|---|
committer | MyungJoo Ham <myungjoo.ham@samsung.com> | 2017-10-11 15:16:57 +0900 |
commit | 915c76ded744c0f5f151402b9fa69f3fd8452573 (patch) | |
tree | ca6a387466543248890f346847acaa8343989b22 /Modules/CMakeCCompilerABI.c | |
parent | 317dbdb79761ef65e45c7358cfc7571c6afa54ad (diff) | |
download | cmake-915c76ded744c0f5f151402b9fa69f3fd8452573.tar.gz cmake-915c76ded744c0f5f151402b9fa69f3fd8452573.tar.bz2 cmake-915c76ded744c0f5f151402b9fa69f3fd8452573.zip |
Imported Upstream version 3.9.4upstream/3.9.4
Diffstat (limited to 'Modules/CMakeCCompilerABI.c')
-rw-r--r-- | Modules/CMakeCCompilerABI.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/Modules/CMakeCCompilerABI.c b/Modules/CMakeCCompilerABI.c index e6a07f4c4..55f9a9b51 100644 --- a/Modules/CMakeCCompilerABI.c +++ b/Modules/CMakeCCompilerABI.c @@ -1,21 +1,18 @@ #ifdef __cplusplus -# error "A C++ compiler has been selected for C." +#error "A C++ compiler has been selected for C." #endif #ifdef __CLASSIC_C__ -# define const +#define const #endif -/*--------------------------------------------------------------------------*/ - #include "CMakeCompilerABI.h" -/*--------------------------------------------------------------------------*/ - #ifdef __CLASSIC_C__ -int main(argc, argv) int argc; char *argv[]; +int main(argc, argv) int argc; +char* argv[]; #else -int main(int argc, char *argv[]) +int main(int argc, char* argv[]) #endif { int require = 0; |