21 lines
796 B
Diff
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)))
|