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. --- ncpd/link.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ncpd') diff --git a/ncpd/link.cc b/ncpd/link.cc index 84c1d89..497f723 100644 --- a/ncpd/link.cc +++ b/ncpd/link.cc @@ -55,11 +55,11 @@ extern "C" { using namespace std; -ENUM_DEFINITION(Link::link_type, Link::LINK_TYPE_UNKNOWN) { +ENUM_DEFINITION_BEGIN(Link::link_type, Link::LINK_TYPE_UNKNOWN) stringRep.add(Link::LINK_TYPE_UNKNOWN, N_("Unknown")); stringRep.add(Link::LINK_TYPE_SIBO, N_("SIBO")); stringRep.add(Link::LINK_TYPE_EPOC, N_("EPOC")); -} +ENUM_DEFINITION_END(Link::link_type) Link::Link(const char *fname, int baud, ncp *_ncp, unsigned short _verbose) : p(0) -- cgit v1.2.3