diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2005-08-14 21:42:34 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2005-08-14 21:42:34 (GMT) |
commit | f09582eeda07aafba4f6169acec336927972d89b (patch) | |
tree | 941efece0ddf7df8e5804cd17bc885b6901381a8 /Modules | |
parent | ce8185e64245250c209f7a2a0a567442d77b3724 (diff) | |
download | cpython-f09582eeda07aafba4f6169acec336927972d89b.zip cpython-f09582eeda07aafba4f6169acec336927972d89b.tar.gz cpython-f09582eeda07aafba4f6169acec336927972d89b.tar.bz2 |
Correct definition of ST_GEN_IDX.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/posixmodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 6e229f6..2f23f82 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -740,9 +740,9 @@ static PyStructSequence_Field stat_result_fields[] = { #endif #ifdef HAVE_STRUCT_STAT_ST_GEN -#define ST_GEN_IDX (ST_RDEV_IDX+1) +#define ST_GEN_IDX (ST_FLAGS_IDX+1) #else -#define ST_GEN_IDX ST_RDEV_IDX +#define ST_GEN_IDX ST_FLAGS_IDX #endif #ifdef HAVE_STRUCT_STAT_ST_BIRTHTIME |