diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-07-06 12:53:16 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-07-06 12:53:16 (GMT) |
commit | ef7b647b3b11d6526439d3ececed254c237b3eac (patch) | |
tree | 88c584aad3e959b8e49a7109630e79da7548afc4 /Tests/Assembler/main.c | |
parent | 7627b96dd1c983cdf210ba65a49accdc0b743fc1 (diff) | |
download | CMake-ef7b647b3b11d6526439d3ececed254c237b3eac.zip CMake-ef7b647b3b11d6526439d3ececed254c237b3eac.tar.gz CMake-ef7b647b3b11d6526439d3ececed254c237b3eac.tar.bz2 |
COMP: OPTIONAL was missing in ENABLE_LANGUAGE()
-the assembler file seems to work for Linux and FreeBSD
-try to fix main() for HP-UX compiler
Alex
Diffstat (limited to 'Tests/Assembler/main.c')
-rw-r--r-- | Tests/Assembler/main.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Tests/Assembler/main.c b/Tests/Assembler/main.c index 3704ad0..6cbf24d 100644 --- a/Tests/Assembler/main.c +++ b/Tests/Assembler/main.c @@ -1,6 +1,12 @@ #include <stdio.h> -int main(int argc, char** argv) +#ifdef __CLASSIC_C__ +int main(){ + int ac; + char*av[]; +#else +int main(int ac, char*av[]){ +#endif { printf("hello assembler world, %d arguments given\n", argc); return 0; |