Added a fix for FreeBSD, so that Ledger can compile there.

This commit is contained in:
John Wiegley 2005-02-13 23:41:22 +00:00
parent b831ee1832
commit 9f28189cea

5
util.h
View file

@ -3,6 +3,11 @@
#include <iostream>
#if defined __FreeBSD__ && __FreeBSD__ <=4
// FreeBSD has a broken isspace macro, so dont use it
#undef isspace(c)
#endif
#if defined(__GNUG__) && __GNUG__ < 3
namespace std {
inline ostream & right (ostream & i) {