diff options
author | John Wiegley <johnw@newartisans.com> | 2005-02-13 23:41:22 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 02:40:59 -0400 |
commit | 9f28189cea7ffc0126e9389d15cde05da904da83 (patch) | |
tree | 1ed664c8b457d2dbe0836974f3bcde50d3022dbc | |
parent | b831ee1832ccc09212fbfc0fdc085effb10e7793 (diff) | |
download | fork-ledger-9f28189cea7ffc0126e9389d15cde05da904da83.tar.gz fork-ledger-9f28189cea7ffc0126e9389d15cde05da904da83.tar.bz2 fork-ledger-9f28189cea7ffc0126e9389d15cde05da904da83.zip |
Added a fix for FreeBSD, so that Ledger can compile there.
-rw-r--r-- | util.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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) { |