Skip to content

Commit

Permalink
修复gcc上优化的问题(((((
Browse files Browse the repository at this point in the history
  • Loading branch information
copi143 committed Dec 14, 2024
1 parent 21426a2 commit b66755c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/libc-base/stdio/stbsp.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
// This code is released under the MIT License

#pragma GCC optimize("O0")

#include <libc-base.h>

#if NO_STD
#if NO_STD && !USE_SPRINTF

# define STB_SPRINTF_IMPLEMENTATION
# include "stb_sprintf.h"
Expand Down

0 comments on commit b66755c

Please sign in to comment.