Boost logo

Boost :

From: Lars Gullik Bjønnes (larsbj_at_[hidden])
Date: 2004-02-24 13:31:37


We just got a mail from a LyX user telling us that this patch is
needed to compile on OpenBSD.

Would be nice if this could be included in Boost (and in 1.31.1 when
that is released.)

TIA.

--- boost/boost/config/platform/bsd.hpp.orig 2002-05-21 19:39:55.000000000 -0400
+++ boost/boost/config/platform/bsd.hpp 2004-02-22 02:24:05.000000000 -0500
@@ -44,7 +44,9 @@
 //
 // The BSD <ctype.h> has macros only, no functions:
 //
-#define BOOST_NO_CTYPE_FUNCTIONS
+#if !defined(__OpenBSD__)
+# define BOOST_NO_CTYPE_FUNCTIONS
+#endif

-- 
	Lgb

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk