summaryrefslogtreecommitdiff
path: root/docs/markdown/snippets/compiler_has_define.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/markdown/snippets/compiler_has_define.md')
-rw-r--r--docs/markdown/snippets/compiler_has_define.md10
1 files changed, 0 insertions, 10 deletions
diff --git a/docs/markdown/snippets/compiler_has_define.md b/docs/markdown/snippets/compiler_has_define.md
deleted file mode 100644
index 64de26b39..000000000
--- a/docs/markdown/snippets/compiler_has_define.md
+++ /dev/null
@@ -1,10 +0,0 @@
-## Compilers now have a `has_define` method
-
-This method returns true if the given preprocessor symbol is
-defined, else false is returned. This is useful is cases where
-an empty define has to be distinguished from a non-set one, which
-is not possible using `get_define`.
-
-Additionally it makes intent clearer for code that only needs
-to check if a specific define is set at all and does not care
-about its value. \ No newline at end of file