aboutsummaryrefslogtreecommitdiff
path: root/src/portal.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/portal.cc')
-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;