Correct definition of ST_GEN_IDX.

This commit is contained in:
Martin v. Löwis 2005-08-14 21:42:34 +00:00
parent ce8185e642
commit f09582eeda
1 changed files with 2 additions and 2 deletions

View File

@ -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