Files
MINGW-packages/mingw-w64-pulseaudio/0001-remove-assert-pid_t-mismatch.patch
2021-09-21 02:03:23 +05:30

21 lines
796 B
Diff

diff --git a/src/pulsecore/macro.h b/src/pulsecore/macro.h
index ec8d31c..4ec68c8 100644
--- a/src/pulsecore/macro.h
+++ b/src/pulsecore/macro.h
@@ -195,14 +195,7 @@ static inline size_t PA_ALIGN(size_t l) {
#endif
/* A compile time assertion */
-#define pa_assert_cc(expr) \
- do { \
- switch (0) { \
- case 0: \
- case !!(expr): \
- ; \
- } \
- } while (false)
+#define pa_assert_cc(expr)
#define PA_PTR_TO_UINT(p) ((unsigned int) ((uintptr_t) (p)))
#define PA_UINT_TO_PTR(u) ((void*) ((uintptr_t) (u)))