diff options
author | Reuben Thomas <rrt@sc3d.org> | 2006-09-29 00:16:28 +0000 |
---|---|---|
committer | Reuben Thomas <rrt@sc3d.org> | 2006-09-29 00:16:28 +0000 |
commit | 5c392c24398b95df09e474b15691d4159eb38efd (patch) | |
tree | 44c2a630ac0105dcca7ecc9e2c8b3d41197adb98 /lib/rfsvfactory.cc | |
parent | 65c2dbb6ae291536574e0066219921b70f593605 (diff) | |
download | plptools-5c392c24398b95df09e474b15691d4159eb38efd.tar.gz plptools-5c392c24398b95df09e474b15691d4159eb38efd.tar.bz2 plptools-5c392c24398b95df09e474b15691d4159eb38efd.zip |
Fixes to compile on amd64 (plp_inttypes.h) and with gcc >= 4.1 (the
rest); patches from Debian bugs #384146, #386833 and #388831.
Diffstat (limited to 'lib/rfsvfactory.cc')
-rw-r--r-- | lib/rfsvfactory.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |