I've had a quick look with grep -R HAVE_ * | egrep '[.]c:'. Modules/posixmodule.c has HAVE_UTIME_H and it might be standard libc on all posix platforms.
Objects/obmalloc.c has HAVE_MMAP… but I guess that's fine given other platforms might not have such facility. Depending on the granularity (on a per platform or per feature) probably yes, there aren't many left. I hope this helps On 17 May 2013, at 16:56, Antoine Pitrou <solip...@pitrou.net> wrote: > On Fri, 17 May 2013 09:15:29 -0500 > Skip Montanaro <s...@pobox.com> wrote: >>> Some pieces of code are still guarded by: >>> #ifdef HAVE_FSTAT >>> ... >>> #endif >> >> Are there other guards for similarly common libc functions? > > I don't think so. Someone should take a look though :-) > > Regards > > Antoine. > _______________________________________________ > Python-Dev mailing list > Python-Dev@python.org > http://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: > http://mail.python.org/mailman/options/python-dev/a.cavallo%40cavallinux.eu _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com