From e2e3b6840bc8e9cc31640f9ef00035bc6358c76d Mon Sep 17 00:00:00 2001 From: levine Date: Tue, 8 Sep 1998 20:44:44 +0000 Subject: (getint): egcs 1.1b can't handle the FP_RETURN_TYPE typedef. So, use FP::Return_Type with __GNUG__. --- apps/Gateway/Gateway/File_Parser.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'apps/Gateway') diff --git a/apps/Gateway/Gateway/File_Parser.cpp b/apps/Gateway/Gateway/File_Parser.cpp index dff477b121c..be15adfd2f1 100644 --- a/apps/Gateway/Gateway/File_Parser.cpp +++ b/apps/Gateway/Gateway/File_Parser.cpp @@ -44,7 +44,13 @@ template FP_RETURN_TYPE File_Parser::getint (ACE_INT32 &value) { char buf[BUFSIZ]; - FP_RETURN_TYPE read_result = this->readword (buf); +#if defined (__GNUG__) + // egcs 1.1b can't handle the typedef. + FP::Return_Type +#else /* ! __GNUG__ */ + FP_RETURN_TYPE +#endif /* ! __GNUG__ */ + read_result = this->readword (buf); if (read_result == FP::SUCCESS) { -- cgit v1.2.1