diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/Main.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/Main.h b/include/Main.h index 4c71c4e..6d4ac9c 100644 --- a/include/Main.h +++ b/include/Main.h @@ -22,12 +22,13 @@ class Main : public Base { }; #define CODE_BEGINS class Appli : public Main { -#define CODE_ENDS }; extern "C" {int main(int argc, char ** argv) { \ +#define CODE_ENDS }; \ +int main(int argc, char ** argv) { \ int r; \ Appli * Application = new Appli(); \ r = Main::truemain(Application, argc, argv, environ); \ delete Application; \ return r; \ -} } +} #endif |