summaryrefslogtreecommitdiffstats
path: root/winsup/w32api/include/excpt.h
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-02-17 19:38:31 +0000
committerChristopher Faylor <me@cgf.cx>2000-02-17 19:38:31 +0000
commit369d8a8fd5e887eca547bf34bccfdf755c9e5397 (patch)
tree5c5dc851bf01a5938662571357ffd5d7bb152a79 /winsup/w32api/include/excpt.h
parent4415a7ef3e26c669f5f7c5c7efbf7b6ea9b7e2f4 (diff)
downloadcygnal-369d8a8fd5e887eca547bf34bccfdf755c9e5397.tar.gz
cygnal-369d8a8fd5e887eca547bf34bccfdf755c9e5397.tar.bz2
cygnal-369d8a8fd5e887eca547bf34bccfdf755c9e5397.zip
import winsup-2000-02-17 snapshot
Diffstat (limited to 'winsup/w32api/include/excpt.h')
-rw-r--r--winsup/w32api/include/excpt.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/winsup/w32api/include/excpt.h b/winsup/w32api/include/excpt.h
new file mode 100644
index 000000000..39621a8f6
--- /dev/null
+++ b/winsup/w32api/include/excpt.h
@@ -0,0 +1,17 @@
+#ifndef _EXCPT_H
+#define _EXCPT_H
+
+/* 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