I use/fix the canon package of mpg123, and cmake build system is used to build on Linux/Macos/Windows yes, according to cmake doc, _FILE_OFFSET_BITS is undefined if the variable set in CMake is considered a false constant by the if() command.
fix build on linux x86 with cmake
done.
Fix mpg123.h generation when use cmake build system