summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2021-09-23 09:11:27 +0200
committerTyge Løvset <[email protected]>2021-09-23 09:11:27 +0200
commit9058dd37ee3eda1dc004e07218cd8115e3fa4f09 (patch)
treefd8cddba1a9d1ea3f8513575c0866000ab37da99 /include
parentcaa64bd67527b68c159fd33130f43de65d3a18d1 (diff)
downloadSTC-modified-9058dd37ee3eda1dc004e07218cd8115e3fa4f09.tar.gz
STC-modified-9058dd37ee3eda1dc004e07218cd8115e3fa4f09.zip
Added sptr_ex.c example + minors.
Diffstat (limited to 'include')
-rw-r--r--include/stc/template.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/stc/template.h b/include/stc/template.h
index c207ae56..cc3e028f 100644
--- a/include/stc/template.h
+++ b/include/stc/template.h
@@ -139,8 +139,8 @@
#ifndef i_keydel
#define i_keydel c_default_del
#endif
-#elif defined i_keydel || defined i_keyfrom || defined i_keyraw || defined i_hash || defined i_equ
- #warning i_key-related definitions without i_key are ignored.
+#elif defined i_isset || defined i_keydel || defined i_keyfrom || defined i_keyraw || defined i_hash || defined i_equ
+ #error i_key define is missing.
#endif
#ifndef i_tag