| summaryrefslogtreecommitdiff | 
diff options
Diffstat (limited to 'src/pervasive.h')
| -rw-r--r-- | src/pervasive.h | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/src/pervasive.h b/src/pervasive.h index 8a8449a..ee04b08 100644 --- a/src/pervasive.h +++ b/src/pervasive.h @@ -8,6 +8,7 @@  #define _ISOLATE(a) do {a} while (0) +/* strncmp stops at '\0' and strlen does not count '\0'. */  #define _IS_PREFIX(a, b) (strncmp(a, b, strlen(a)) == 0)  #endif | 


