summaryrefslogtreecommitdiffstats
path: root/src/sockets/socket.cpp
diff options
context:
space:
mode:
authorFrédéric Brière <fbriere@fbriere.net>2019-12-21 19:04:31 -0500
committerFrédéric Brière <fbriere@fbriere.net>2019-12-27 11:24:27 -0500
commit97ba6270f0ec26a09943715208b89baf31015aa6 (patch)
treea4a2ffddfcbf6e2eb6cb6bf65e27551f69a5ab46 /src/sockets/socket.cpp
parent05082ae12051821b1d969e6672d9e4e5afe1bc07 (diff)
downloadtwinkle-97ba6270f0ec26a09943715208b89baf31015aa6.tar
twinkle-97ba6270f0ec26a09943715208b89baf31015aa6.tar.gz
twinkle-97ba6270f0ec26a09943715208b89baf31015aa6.tar.lz
twinkle-97ba6270f0ec26a09943715208b89baf31015aa6.tar.xz
twinkle-97ba6270f0ec26a09943715208b89baf31015aa6.zip
Add -DDEBUG to non-release builds, to prevent uCommon from adding NDEBUG
Including <ucommon/ucommon.h> will (as of uCommon 7.0.0) unilaterally define NDEBUG, and thus compile away any assert(), unless DEBUG has been previously defined.[1] Until this is fixed, the easiest way around this is simply to automatically define DEBUG for non-release builds. Note that there are a few other header files that check for the presence of DEBUG[2], but the net effect appears to be non-significant. (It *is* a debug build, after all!) [1] https://lists.gnu.org/archive/html/bug-commoncpp/2019-12/msg00000.html [2] - libxml2/libxml/xmlmemory.h - X11/Xthreads.h - X11/extensions/lbxproto.h - FLAC/assert.h
Diffstat (limited to 'src/sockets/socket.cpp')
0 files changed, 0 insertions, 0 deletions