summaryrefslogtreecommitdiff
path: root/va/va.c
diff options
context:
space:
mode:
Diffstat (limited to 'va/va.c')
-rw-r--r--va/va.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/va/va.c b/va/va.c
index ee92cb2..c00b252 100644
--- a/va/va.c
+++ b/va/va.c
@@ -47,6 +47,9 @@
#define CHECK_MAXIMUM(s, ctx, var) if (!va_checkMaximum(ctx->max_##var, #var)) s = VA_STATUS_ERROR_UNKNOWN;
#define CHECK_STRING(s, ctx, var) if (!va_checkString(ctx->str_##var, #var)) s = VA_STATUS_ERROR_UNKNOWN;
+#define Bool int
+#define True 1
+#define False 0
/*
* read a config "env" for libva.conf or from environment setting