summaryrefslogtreecommitdiffhomepage
path: root/include/stc/csmap.h
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2023-04-28 17:01:58 +0200
committerTyge Løvset <[email protected]>2023-04-28 17:01:58 +0200
commit49e7d9cc0a888b0b19aa4e737d55a2bc33bec824 (patch)
tree6e4aea9d457fe89a3dd1be441c88000539614b54 /include/stc/csmap.h
parenta922157394a9a3e0cffe26a5fa4d29c9d78ecc06 (diff)
downloadSTC-modified-49e7d9cc0a888b0b19aa4e737d55a2bc33bec824.tar.gz
STC-modified-49e7d9cc0a888b0b19aa4e737d55a2bc33bec824.zip
Removed crandom.h and altnames.h. Housholding.
Diffstat (limited to 'include/stc/csmap.h')
-rw-r--r--include/stc/csmap.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/include/stc/csmap.h b/include/stc/csmap.h
index cd7c1d95..6b8475eb 100644
--- a/include/stc/csmap.h
+++ b/include/stc/csmap.h
@@ -58,17 +58,16 @@ int main(void) {
#endif // CSMAP_H_INCLUDED
#ifndef _i_prefix
-#define _i_prefix csmap_
-#endif
-#ifdef _i_isset
- #define _i_MAP_ONLY c_false
- #define _i_SET_ONLY c_true
- #define _i_keyref(vp) (vp)
-#else
+ #define _i_prefix csmap_
#define _i_ismap
#define _i_MAP_ONLY c_true
#define _i_SET_ONLY c_false
#define _i_keyref(vp) (&(vp)->first)
+#else
+ #define _i_isset
+ #define _i_MAP_ONLY c_false
+ #define _i_SET_ONLY c_true
+ #define _i_keyref(vp) (vp)
#endif
#include "priv/template.h"
#ifndef i_is_forward