#include <string.h>
#include "dstr.h"
+#include "macros.h"
static int win = 0, lose = 0;
static dstr d = DSTR_INIT;
static void check(const char *what, const char *want)
{
- if (strcmp(want, d.buf) == 0)
+ if (STRCMP(want, ==, d.buf))
win++;
else {
lose++;