mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
It doesn't work to use #define XXX defined(YYY)" and then "#ifdef XXX" to check YYY.
This commit is contained in:
parent
6174474bea
commit
5ebae87628
2 changed files with 46 additions and 12 deletions
|
|
@ -4605,9 +4605,9 @@ utime_fd(utime_t *ut, int fd)
|
|||
#define PATH_UTIME_HAVE_FD 0
|
||||
#endif
|
||||
|
||||
|
||||
#define UTIME_HAVE_NOFOLLOW_SYMLINKS \
|
||||
(defined(HAVE_UTIMENSAT) || defined(HAVE_LUTIMES))
|
||||
#if defined(HAVE_UTIMENSAT) || defined(HAVE_LUTIMES)
|
||||
# define UTIME_HAVE_NOFOLLOW_SYMLINKS
|
||||
#endif
|
||||
|
||||
#ifdef UTIME_HAVE_NOFOLLOW_SYMLINKS
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue