From b095c2b76f3e96454d605b6a5f8d7f891d4f76af Mon Sep 17 00:00:00 2001 From: schnetter Date: Tue, 31 May 2005 17:05:33 +0000 Subject: 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 --- src/portal.cc | 10 ++++++---- 1 file 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; -- cgit v1.2.3