diff options
Diffstat (limited to 'win32/include/excpt.h')
| -rw-r--r-- | win32/include/excpt.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/win32/include/excpt.h b/win32/include/excpt.h index a9596ab..7746124 100644 --- a/win32/include/excpt.h +++ b/win32/include/excpt.h @@ -1,20 +1,20 @@ -#ifndef _EXCPT_H
-#define _EXCPT_H
-#if __GNUC__ >=3
-#pragma GCC system_header
-#endif
-
-/* FIXME: This will make some code compile. The programs will most
- likely crash when an exception is raised, but at least they will
- compile. */
-#ifdef __GNUC__
-#define __try
-#define __except(x) if (0) /* don't execute handler */
-#define __finally
-
-#define _try __try
-#define _except __except
-#define _finally __finally
-#endif
-
-#endif
+#ifndef _EXCPT_H +#define _EXCPT_H +#if __GNUC__ >=3 +#pragma GCC system_header +#endif + +/* FIXME: This will make some code compile. The programs will most + likely crash when an exception is raised, but at least they will + compile. */ +#ifdef __GNUC__ +#define __try +#define __except(x) if (0) /* don't execute handler */ +#define __finally + +#define _try __try +#define _except __except +#define _finally __finally +#endif + +#endif |
