You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by "Martin Sebor (JIRA)" <ji...@apache.org> on 2006/01/09 19:53:52 UTC
[jira] Commented: (STDCXX-106) [Mac OS X 10.2.8] src/memattr.cpp
fails to build if _SC_PAGE_SIZE and _SC_PAGESIZE undefined
[ http://issues.apache.org/jira/browse/STDCXX-106?page=comments#action_12362235 ]
Martin Sebor commented on STDCXX-106:
-------------------------------------
Sure enough, there's no such macro in the BSD manual:
http://developer.apple.com/documentation/Darwin/Reference/ManPages/man3/sysconf.3.html
There is getpagesize(), though, so we should use it instead:
http://developer.apple.com/documentation/Darwin/Reference/ManPages/man3/getpagesize.3.html
> [Mac OS X 10.2.8] src/memattr.cpp fails to build if _SC_PAGE_SIZE and _SC_PAGESIZE undefined
> --------------------------------------------------------------------------------------------
>
> Key: STDCXX-106
> URL: http://issues.apache.org/jira/browse/STDCXX-106
> Project: STDCXX
> Type: Bug
> Components: Build
> Environment: Mac OS X 10.2.8/Darwin 6.8 with GCC 3.1
> Reporter: Andrew Black
>
> The copy of unistd.h (and sys/unistd.h) on this instalation defines neither _SC_PAGE_SIZE nor _SC_PAGESIZE, resulting in src/memattr.cpp failing to build.
> It likely will be necessary to determine if there is a different method that will return the desired information.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira