projects
/
oweals
/
minetest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Avoid crash caused by, and improve, 'findSpawnPos()' (#8728)
[oweals/minetest.git]
/
src
/
porting.h
diff --git
a/src/porting.h
b/src/porting.h
index 1f9f066fb6b7cb49c39a20e456f664874380a0d9..4d30a5970f2ffd20b66088d60d48a4b2c1fac89d 100644
(file)
--- 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__