From 5c392c24398b95df09e474b15691d4159eb38efd Mon Sep 17 00:00:00 2001 From: Reuben Thomas Date: Fri, 29 Sep 2006 00:16:28 +0000 Subject: Fixes to compile on amd64 (plp_inttypes.h) and with gcc >= 4.1 (the rest); patches from Debian bugs #384146, #386833 and #388831. --- lib/rfsvfactory.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/rfsvfactory.cc') diff --git a/lib/rfsvfactory.cc b/lib/rfsvfactory.cc index f525e5d..e8ff827 100644 --- a/lib/rfsvfactory.cc +++ b/lib/rfsvfactory.cc @@ -37,14 +37,14 @@ using namespace std; -ENUM_DEFINITION(rfsvfactory::errs, rfsvfactory::FACERR_NONE) { +ENUM_DEFINITION_BEGIN(rfsvfactory::errs, rfsvfactory::FACERR_NONE) stringRep.add(rfsvfactory::FACERR_NONE, N_("no error")); stringRep.add(rfsvfactory::FACERR_COULD_NOT_SEND, N_("could not send version request")); stringRep.add(rfsvfactory::FACERR_AGAIN, N_("try again")); stringRep.add(rfsvfactory::FACERR_NOPSION, N_("no psion connected")); stringRep.add(rfsvfactory::FACERR_PROTVERSION, N_("wrong protocol version")); stringRep.add(rfsvfactory::FACERR_NORESPONSE, N_("no response from ncpd")); -} +ENUM_DEFINITION_END(rfsvfactory::errs) rfsvfactory::rfsvfactory(ppsocket *_skt) : serNum(0) { -- cgit v1.2.3