aboutsummaryrefslogtreecommitdiffstats
path: root/libc/unistd/sigsetmask.c
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2011-07-19 14:25:49 +0200
committerDanny Baumann <dannybaumann@web.de>2011-07-19 14:29:06 +0200
commite9ce18fc28850267cc3b3228bede34675f1b97ec (patch)
tree17eb5cd7935c6f3896579763e05be888bbd77453 /libc/unistd/sigsetmask.c
parent48cd796cf7416dd168702c782026f004a35a29d8 (diff)
downloadandroid_bionic-e9ce18fc28850267cc3b3228bede34675f1b97ec.tar.gz
android_bionic-e9ce18fc28850267cc3b3228bede34675f1b97ec.tar.bz2
android_bionic-e9ce18fc28850267cc3b3228bede34675f1b97ec.zip
Completely disable assertions if NDEBUG is set.
Normally, setting NDEBUG disables the assert function call in assert.h. This is sufficient if we build everything from source. However, as we're dealing with a number of precompiled binaries, we can also have binaries which were compiled with NDEBUG not being set. To achieve the same effect for those binaries (namely: don't make the program crash), disable the call to abort() inside the assert functions if NDEBUG is set. Change-Id: I545927757ae6e972f1567085715d9a6cb6c46107
Diffstat (limited to 'libc/unistd/sigsetmask.c')
0 files changed, 0 insertions, 0 deletions