summaryrefslogtreecommitdiff
path: root/Modules/CMakeCCompilerABI.c
diff options
context:
space:
mode:
authorMyungJoo Ham <myungjoo.ham@samsung.com>2017-10-11 15:16:57 +0900
committerMyungJoo Ham <myungjoo.ham@samsung.com>2017-10-11 15:16:57 +0900
commit915c76ded744c0f5f151402b9fa69f3fd8452573 (patch)
treeca6a387466543248890f346847acaa8343989b22 /Modules/CMakeCCompilerABI.c
parent317dbdb79761ef65e45c7358cfc7571c6afa54ad (diff)
downloadcmake-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.c13
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;