X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fporting.h;h=4d30a5970f2ffd20b66088d60d48a4b2c1fac89d;hb=37923920a07f06d201662d8f1f4e5821efcc7b09;hp=1f9f066fb6b7cb49c39a20e456f664874380a0d9;hpb=ae9b5e00989756bb676429530dfe81039009001c;p=oweals%2Fminetest.git diff --git a/src/porting.h b/src/porting.h index 1f9f066fb..4d30a5970 100644 --- a/src/porting.h +++ b/src/porting.h @@ -327,6 +327,8 @@ bool secure_rand_fill_buf(void *buf, size_t len); // This attaches to the parents process console, or creates a new one if it doesnt exist. void attachOrCreateConsole(); + +int mt_snprintf(char *buf, const size_t buf_size, const char *fmt, ...); } // namespace porting #ifdef __ANDROID__