diff options
author | edwin <edwin@FreeBSD.org> | 2003-09-08 09:17:34 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-09-08 09:17:34 +0000 |
commit | fda6ba7c3d9a69c6aea08ebc31d89b4c61d29102 (patch) | |
tree | d473cb346190592518f40e26d0f4a6cbb0966b0b /devel/p4web/distinfo | |
parent | 3e1d8629440674690272b7df7bfb6f6dc46fb045 (diff) | |
download | FreeBSD-ports-fda6ba7c3d9a69c6aea08ebc31d89b4c61d29102.zip FreeBSD-ports-fda6ba7c3d9a69c6aea08ebc31d89b4c61d29102.tar.gz |
[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>
Diffstat (limited to 'devel/p4web/distinfo')
0 files changed, 0 insertions, 0 deletions