aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschnetter <schnetter@83718e91-0e4f-0410-abf4-91180603181f>2005-05-31 17:05:33 +0000
committerschnetter <schnetter@83718e91-0e4f-0410-abf4-91180603181f>2005-05-31 17:05:33 +0000
commitb095c2b76f3e96454d605b6a5f8d7f891d4f76af (patch)
treec3f75ae5c539f4ebb911f9cba0e7a48556bdbf8f
parentd18ff493d3896b69baa963cd768dc3eb95fa608b (diff)
Don't require MSG_NOSIGNAL to be defined.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@29 83718e91-0e4f-0410-abf4-91180603181f
-rw-r--r--src/portal.cc10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/portal.cc b/src/portal.cc
index fe6b7bd..6bdb7a0 100644
--- a/src/portal.cc
+++ b/src/portal.cc
@@ -16,14 +16,16 @@
-namespace Formaline
-{
+#ifndef MSG_NOSIGNAL
+# define MSG_NOSIGNAL 0
+#endif
- using namespace std;
+namespace Formaline
+{
- extern "C" int h_errno;
+ using namespace std;