diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-03-23 21:03:52 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-03-23 21:03:52 +0100 |
commit | 52dcb950efead46a398da977bc28e560f8564b62 (patch) | |
tree | b83ab69c75bb7e6323b66722ce4db662f6dae255 /src/pulse | |
parent | a467bec42352c8e86cbc4c680a19a376405946ba (diff) |
add pa_assert_cc() for compile time assertions
Diffstat (limited to 'src/pulse')
-rw-r--r-- | src/pulse/fork-detect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulse/fork-detect.c b/src/pulse/fork-detect.c index f10fc029..a4e0dd16 100644 --- a/src/pulse/fork-detect.c +++ b/src/pulse/fork-detect.c @@ -39,7 +39,7 @@ int pa_detect_fork(void) { * however have to deal with this cleanly, so we try to detect the * forks making sure all our calls fail cleanly after the fork. */ - pa_assert(sizeof(pa_atomic_t) >= sizeof(pid_t)); + pa_assert_cc(sizeof(pa_atomic_t) >= sizeof(pid_t)); for (;;) { pid_t stored_pid = (pid_t) pa_atomic_load(&pid); |