Patch: src/Utilities/Inform.h More Robust
Jeffrey Oldham
oldham at codesourcery.com
Fri Mar 23 15:36:40 UTC 2001
Per Allan Stokes's good suggestion,
2001-03-22 Jeffrey Oldham <oldham at codesourcery.com>
* Inform.h: Modify preprocessing constant expression to be more
robust.
Tested on sequential, Linux, and mainline gcc
Reviewed by Jim Crotinger.
Thanks,
Jeffrey D. Oldham
oldham at codesourcery.com
-------------- next part --------------
Index: Inform.h
===================================================================
RCS file: /home/pooma/Repository/r2/src/Utilities/Inform.h,v
retrieving revision 1.28
diff -c -p -r1.28 Inform.h
*** Inform.h 2001/03/21 00:56:09 1.28
--- Inform.h 2001/03/22 16:40:14
*************** public:
*** 275,281 ****
void print() { flush(); }
void output() { flush(); }
! #if (defined(__MWERKS__) && __MWERKS__ >= 0x2301) || __GLIBCPP__ >= 20001129
typedef std::ios_base::fmtflags FmtFlags_t;
#else
typedef long FmtFlags_t;
--- 275,282 ----
void print() { flush(); }
void output() { flush(); }
! #if (defined(__MWERKS__) && __MWERKS__ >= 0x2301) \
! || (defined(__GLIBCPP__) && __GLIBCPP__ >= 20001129)
typedef std::ios_base::fmtflags FmtFlags_t;
#else
typedef long FmtFlags_t;
More information about the pooma-dev
mailing list