summaryrefslogtreecommitdiffstats
path: root/src/macro.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/macro.h')
-rw-r--r--src/macro.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/macro.h b/src/macro.h
index 2f37bc1..cdc2bab 100644
--- a/src/macro.h
+++ b/src/macro.h
@@ -236,4 +236,6 @@ typedef int ca_bool_t;
#define PA_UINT32_TO_BE(x) PA_UINT32_SWAP(x)
#endif
+#define streq(a, b) (strcmp((a),(b)) == 0)
+
#endif