aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rfsv.cc
diff options
context:
space:
mode:
authorReuben Thomas <rrt@sc3d.org>2006-09-29 00:16:28 +0000
committerReuben Thomas <rrt@sc3d.org>2006-09-29 00:16:28 +0000
commit5c392c24398b95df09e474b15691d4159eb38efd (patch)
tree44c2a630ac0105dcca7ecc9e2c8b3d41197adb98 /lib/rfsv.cc
parent65c2dbb6ae291536574e0066219921b70f593605 (diff)
downloadplptools-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/rfsv.cc')
-rw-r--r--lib/rfsv.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/rfsv.cc b/lib/rfsv.cc
index bbc0a90..8d10868 100644
--- a/lib/rfsv.cc
+++ b/lib/rfsv.cc
@@ -33,7 +33,7 @@
using namespace std;
-ENUM_DEFINITION(rfsv::errs, rfsv::E_PSI_GEN_NONE) {
+ENUM_DEFINITION_BEGIN(rfsv::errs, rfsv::E_PSI_GEN_NONE)
stringRep.add(rfsv::E_PSI_GEN_NONE, N_("no error"));
stringRep.add(rfsv::E_PSI_GEN_FAIL, N_("general"));
stringRep.add(rfsv::E_PSI_GEN_ARG, N_("bad argument"));
@@ -108,7 +108,8 @@ ENUM_DEFINITION(rfsv::errs, rfsv::E_PSI_GEN_NONE) {
stringRep.add(rfsv::E_PSI_FILE_HANDLE, N_("bad handle"));
stringRep.add(rfsv::E_PSI_NOT_SIBO, N_("invalid operation for RFSV16"));
stringRep.add(rfsv::E_PSI_INTERNAL, N_("libplp internal error"));
-}
+ENUM_DEFINITION_END(rfsv::errs)
+
const char *rfsv::getConnectName(void) {
return "SYS$RFSV";