summaryrefslogtreecommitdiff
path: root/src/system.hh.in
diff options
context:
space:
mode:
authorTim Landscheidt <tim@tim-landscheidt.de>2019-01-15 14:00:00 +0000
committerMartin Michlmayr <tbm@cyrius.com>2019-01-25 12:42:43 -0300
commitccd330746a77cf335b2816a3048a8e25e61f8ed4 (patch)
tree1e791a7240617989e43ddf25eeb92154cbfb05f4 /src/system.hh.in
parentd967c3485d09687586527ff206cc2401f099a3d4 (diff)
downloadfork-ledger-ccd330746a77cf335b2816a3048a8e25e61f8ed4.tar.gz
fork-ledger-ccd330746a77cf335b2816a3048a8e25e61f8ed4.tar.bz2
fork-ledger-ccd330746a77cf335b2816a3048a8e25e61f8ed4.zip
Remove workaround for isspace() on FreeBSD 4 and earlier
FreeBSD 4 was declared end-of-life in 2006 (https://lists.freebsd.org/pipermail/freebsd-security/2006-October/004111.html). Currently, only FreeBSD 11 and 12 are supported (https://www.freebsd.org/security/security.html#sup).
Diffstat (limited to 'src/system.hh.in')
-rw-r--r--src/system.hh.in5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/system.hh.in b/src/system.hh.in
index 1f4a3958..799c7102 100644
--- a/src/system.hh.in
+++ b/src/system.hh.in
@@ -135,11 +135,6 @@ typedef std::ostream::pos_type ostream_pos_type;
#include <cstring>
#include <csignal>
-#if defined __FreeBSD__ && __FreeBSD__ <= 4
-// FreeBSD has a broken isspace macro, so don't use it
-#undef isspace(c)
-#endif
-
#if defined(_WIN32) || defined(__CYGWIN__)
#include <io.h>
#else