Added a fix for FreeBSD, so that Ledger can compile there.
This commit is contained in:
parent
b831ee1832
commit
9f28189cea
1 changed files with 5 additions and 0 deletions
5
util.h
5
util.h
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue