16 lines
400 B
C++
16 lines
400 B
C++
#ifndef DIGGLER_PLATFORM_FIXES_GLIBC
|
|
#define DIGGLER_PLATFORM_FIXES_GLIBC
|
|
|
|
// Disable some names (major, minor, makedev) inappropriately reserved as macros
|
|
// by the morons glibc devs are.
|
|
// https://bugzilla.redhat.com/show_bug.cgi?id=130601
|
|
#ifndef _SYS_SYSMACROS_H
|
|
#define _SYS_SYSMACROS_H 1
|
|
#else
|
|
#undef major
|
|
#undef minor
|
|
#undef makedev
|
|
#endif
|
|
|
|
#endif /* DIGGLER_PLATFORM_FIXES_GLIBC */
|