summaryrefslogtreecommitdiffhomepage
path: root/include/stc/cstr.h
diff options
context:
space:
mode:
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