From: Martin v. Löwis Date: Sun, 14 Aug 2005 21:42:34 +0000 (+0000) Subject: Correct definition of ST_GEN_IDX. X-Git-Tag: v2.5a0~1517 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f09582eeda07aafba4f6169acec336927972d89b;p=thirdparty%2FPython%2Fcpython.git Correct definition of ST_GEN_IDX. --- diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 6e229f6d2278..2f23f822f896 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