mirror of
https://github.com/matrix-construct/construct
synced 2024-12-26 15:33:54 +01:00
ircd: Undef legacy major/minor macros if included through sys/types.h.
This commit is contained in:
parent
2d6ae9fd78
commit
1245101a5b
1 changed files with 4 additions and 0 deletions
|
@ -105,6 +105,10 @@ extern "C"
|
|||
#undef stdout
|
||||
#undef stderr
|
||||
|
||||
// Historical macros from types.h
|
||||
#undef major
|
||||
#undef minor
|
||||
|
||||
// Trouble. clang++-8
|
||||
#ifndef assert
|
||||
#define assert(expr) (static_cast<void>(0))
|
||||
|
|
Loading…
Reference in a new issue