clboss/Util/Compiler.hpp
Ken Sedgwick 4f37007f00 build: Use __GNUC__ instead of __GNUC_PREREQ, fixes Alpine build
Changelog-Fixed: build: Use `__GNUC__` instead of `__GNUC_PREREQ`, fixes Alpine build ([#178])
2023-09-22 12:52:57 -07:00

10 lines
238 B
C++

#ifndef COMPILER_H_
#define COMPILER_H_
#if defined(__GNUC__) && (__GNUC__ >= 13)
// We need a GCC patch here due the following bug
// <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107134>
#include<cstdint>
#endif
#endif // COMPILER_H_