summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2015-09-04 12:48:01 +0200
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2015-09-04 12:48:01 +0200
commitdc75c584513dfd746f9819891c2eb6e77bfdf1ad (patch)
tree577d5f9ef7fbc43a5873492d386808518d845d94 /src/pervasive.h
parent385a3d17995dafde4f2b57f8d3a42d4d4782119d (diff)
Better debug options, better string comparisons.
Diffstat (limited to 'src/pervasive.h')
-rw-r--r--src/pervasive.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pervasive.h b/src/pervasive.h
index 0dd67fe..6c08305 100644
--- a/src/pervasive.h
+++ b/src/pervasive.h
@@ -11,4 +11,6 @@
/* strncmp stops at '\0' and strlen does not count '\0'. */
#define RELABSD_IS_PREFIX(a, b) (strncmp(a, b, strlen(a)) == 0)
+#define RELABSD_STRING_EQUALS(a, b) (strcmp(a, b) == 0)
+
#endif