0
0
Fork 0
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:
Jason Volk 2019-12-31 13:41:45 -08:00
parent 2d6ae9fd78
commit 1245101a5b

View file

@ -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))