[Python-Dev] HAVE_FSTAT?

Antonio Cavallo a.cavallo at cavallinux.eu
Sat May 18 09:31:36 CEST 2013

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 <solipsis at pitrou.net> wrote:

> On Fri, 17 May 2013 09:15:29 -0500
> Skip Montanaro <skip at 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 at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/a.cavallo%40cavallinux.eu

More information about the Python-Dev mailing list