summaryrefslogtreecommitdiffhomepage
path: root/include/stc/alt
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2022-01-01 19:51:03 +0100
committerTyge Løvset <[email protected]>2022-01-01 19:51:03 +0100
commit8134d0f62ebc659741131eb79cec4fdcf5f774f7 (patch)
tree4324409930c320fcedc98f25356caeccf4e578c0 /include/stc/alt
parent9eafcffc28cc8cc0ee273888c1af043ff4d685a4 (diff)
downloadSTC-modified-8134d0f62ebc659741131eb79cec4fdcf5f774f7.tar.gz
STC-modified-8134d0f62ebc659741131eb79cec4fdcf5f774f7.zip
Corrected linking macro settings.
Diffstat (limited to 'include/stc/alt')
-rw-r--r--include/stc/alt/clist.h2
-rw-r--r--include/stc/alt/csmap.h2
-rw-r--r--include/stc/alt/cstr.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/include/stc/alt/clist.h b/include/stc/alt/clist.h
index 38b722a4..7530ef5b 100644
--- a/include/stc/alt/clist.h
+++ b/include/stc/alt/clist.h
@@ -148,7 +148,7 @@ STC_API size_t _clist_count(const clist_VOID* self);
/* -------------------------- IMPLEMENTATION ------------------------- */
-#if !defined(STC_HEADER) || defined(STC_IMPLEMENTATION)
+#if !defined(STC_SHARED) || defined(STC_IMPLEMENTATION)
#define _c_implement_clist(_cx_self, i_val, i_cmp, i_valdrop, i_valfrom, i_valto, i_valraw) \
\
STC_DEF _cx_self \
diff --git a/include/stc/alt/csmap.h b/include/stc/alt/csmap.h
index 9be41054..0f5b59cc 100644
--- a/include/stc/alt/csmap.h
+++ b/include/stc/alt/csmap.h
@@ -197,7 +197,7 @@ int main(void) {
/* -------------------------- IMPLEMENTATION ------------------------- */
-#if !defined(STC_HEADER) || defined(STC_IMPLEMENTATION)
+#if !defined(STC_SHARED) || defined(STC_IMPLEMENTATION)
_c_aatree_types(csmap_SENTINEL, csmap_, int, int);
_c_aatree_complete_types(csmap_SENTINEL, csmap_);
diff --git a/include/stc/alt/cstr.h b/include/stc/alt/cstr.h
index b9a4ceee..8a2c2bd7 100644
--- a/include/stc/alt/cstr.h
+++ b/include/stc/alt/cstr.h
@@ -262,7 +262,7 @@ STC_INLINE bool cstr_getline(cstr *self, FILE *fp) {
/* -------------------------- IMPLEMENTATION ------------------------- */
-#if !defined(STC_HEADER) || defined(STC_IMPLEMENTATION)
+#if !defined(STC_SHARED) || defined(STC_IMPLEMENTATION)
STC_DEF void cstr_internal_move_(cstr* self, size_t pos1, size_t pos2) {
if (pos1 == pos2)