LLNL / UnifyFS

UnifyFS: A file system for burst buffers
Other
106 stars 31 forks source link

Define _STAT_VER if it's not already defined #694

Closed rgmiller closed 3 years ago

rgmiller commented 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

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:

adammoody commented 3 years ago

Thanks, @rgmiller