[Python-Dev] HAVE_FSTAT? (original) (raw)
Antonio Cavallo a.cavallo at cavallinux.eu
Sat May 18 09:31:36 CEST 2013
- Previous message: [Python-Dev] HAVE_FSTAT?
- Next message: [Python-Dev] HAVE_FSTAT?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 HAVEFSTAT ... #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
- Previous message: [Python-Dev] HAVE_FSTAT?
- Next message: [Python-Dev] HAVE_FSTAT?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]