diff options
Diffstat (limited to 'src/fl_call_main.c')
| -rw-r--r-- | src/fl_call_main.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/fl_call_main.c b/src/fl_call_main.c index e29f5853e..563d9652b 100644 --- a/src/fl_call_main.c +++ b/src/fl_call_main.c @@ -48,26 +48,26 @@ #if defined(WIN32) && !defined(FL_DLL) && !defined (__GNUC__) -#include <windows.h> -#include <stdio.h> -#include <stdlib.h> +# include <windows.h> +# include <stdio.h> +# include <stdlib.h> -#ifdef __MWERKS__ -# include <crtl.h> -#endif +# ifdef __MWERKS__ +# include <crtl.h> +# endif extern int main(int, char *[]); -#ifdef BORLAND5 -# define __argc _argc -# define __argv _argv -#endif +# ifdef BORLAND5 +# define __argc _argc +# define __argv _argv +# endif /* BORLAND5 */ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { int rc; -#ifdef _DEBUG +# ifdef _DEBUG /* * If we are using compiling in debug mode, open a console window so * we can see any printf's, etc... @@ -82,24 +82,24 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, freopen("conin$", "r", stdin); freopen("conout$", "w", stdout); freopen("conout$", "w", stderr); -#endif /* _DEBUG */ +# endif /* _DEBUG */ /* Run the standard main entry point function... */ rc = main(__argc, __argv); -#ifdef _DEBUG +# ifdef _DEBUG fclose(stdin); fclose(stdout); fclose(stderr); -#endif /* _DEBUG */ +# endif /* _DEBUG */ return rc; } -#else +#elif defined(__future_compiler_test) /* This code to prevent "empty translation unit" or similar warnings... */ static void dummy(void) {} -#endif +#endif // WIN32 && !FL_DLL && !__GNUC__ /* * End of "$Id$". |
