Closed rgmiller closed 3 years ago
As of glibc v2.33, _STAT_VER is no longer defined. This commit adds code to #define it to 3 if it's not already defined.
Fixes issue #687
This is a very simple change: If the symbol isn't already defined, then just define it to 3.
We need this change because newer versions of glibc (starting at v2.33) no longer define the symbol. (See issue #687.)
Tested on a Fedora 34 VM. (The "enterprise class" Linux distros haven't a new enough glibc yet.)
Thanks, @rgmiller
As of glibc v2.33, _STAT_VER is no longer defined. This commit adds code to #define it to 3 if it's not already defined.
Fixes issue #687
Description
This is a very simple change: If the symbol isn't already defined, then just define it to 3.
Motivation and Context
We need this change because newer versions of glibc (starting at v2.33) no longer define the symbol. (See issue #687.)
How Has This Been Tested?
Tested on a Fedora 34 VM. (The "enterprise class" Linux distros haven't a new enough glibc yet.)
Types of changes
Checklist: