summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/rules.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/rules.h b/src/include/rules.h
index 6ebb37e804..ec3d22d7d1 100644
--- a/src/include/rules.h
+++ b/src/include/rules.h
@@ -3,6 +3,12 @@
#ifndef _RULES_H
#define _RULES_H
+#if defined(__TEST__)
+#define ENV_TEST 1
+#else
+#define ENV_TEST 0
+#endif
+
#if defined(__TIMELESS__)
#define ENV_TIMELESS 1
#else