aboutsummaryrefslogtreecommitdiff
path: root/libjava/include/default-signal.h
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/include/default-signal.h')
-rw-r--r--libjava/include/default-signal.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/libjava/include/default-signal.h b/libjava/include/default-signal.h
new file mode 100644
index 00000000000..71545c06aca
--- /dev/null
+++ b/libjava/include/default-signal.h
@@ -0,0 +1,21 @@
+// default-signal.h - Catch runtime signals and turn them into exceptions.
+
+/* Copyright (C) 1998, 1999 Cygnus Solutions
+
+ This file is part of libgcj.
+
+This software is copyrighted work licensed under the terms of the
+Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
+details. */
+
+#ifndef JAVA_SIGNAL_H
+#define JAVA_SIGNAL_H 1
+
+#undef HANDLE_SEGV
+#undef HANDLE_FPE
+
+#define INIT_SEGV do {} while (0)
+#define INIT_FPE do {} while (0)
+
+#endif /* JAVA_SIGNAL_H */
+