CVS log for ports/devel/spirit/files/Attic/patch-boost::spirit::impl::primitives.ipp
Up to [FreeBSD] / ports / devel / spirit / files
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.2
Wed Nov 19 14:47:44 2003 UTC (8 years, 2 months ago) by ijliao
Branches: MAIN
CVS tags: HEAD
FILE REMOVED
Changes since revision 1.1: +0 -0 lines
upgrade to 1.6.1
Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Sep 8 09:17:34 2003 UTC (8 years, 5 months ago) by edwin
Branches: MAIN
CVS tags: RELEASE_4_9_0
[patch] fix port devel/spirit
FreeBSD implements the is* functions already correctly, but this is not
recognized with gcc 3.3.1. The proposed patch changes this behaviour.
Code in question (gcc 3.3.1 does not seem to define _STLPORT_VERSION,
whereas gcc 2.95.4 did):
#if defined(_MSC_VER) || _STLPORT_VERSION >= 0x450
// is* functions already setup
#else
#ifndef isalnum
inline bool isalnum(int c) { return std::isalnum(c); }
#endif
#ifndef isalpha
inline bool isalpha(int c) { return std::isalpha(c); }
#endif
PR: ports/55783
Submitted by: Simon Barner <barner@in.tum.de>
