summaryrefslogtreecommitdiffhomepage
path: root/include/stc/cstr.h
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2023-06-11 07:36:31 +0200
committerTyge Løvset <[email protected]>2023-06-11 07:36:31 +0200
commitf3529a2600141dc7f84c734ea3bf5db8f7090e56 (patch)
tree18f690c53c86c929da251e467446389ef8352938 /include/stc/cstr.h
parent5f935739d2ce280beda36c7a7ddb0e0ee34c8fb3 (diff)
downloadSTC-modified-f3529a2600141dc7f84c734ea3bf5db8f7090e56.tar.gz
STC-modified-f3529a2600141dc7f84c734ea3bf5db8f7090e56.zip
More internal structuring
Diffstat (limited to 'include/stc/cstr.h')
-rw-r--r--include/stc/cstr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/stc/cstr.h b/include/stc/cstr.h
index f47889b4..0c5b67d8 100644
--- a/include/stc/cstr.h
+++ b/include/stc/cstr.h
@@ -655,8 +655,11 @@ intptr_t cstr_printf(cstr* self, const char* fmt, ...) {
#if defined __GNUC__ && !defined __clang__
# pragma GCC diagnostic pop
#endif
+#ifndef _i_no_undef
#undef i_opt
#undef i_header
#undef i_static
#undef i_implement
#undef i_import
+#endif
+#undef _i_no_undef