1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

Core: Modernize C headers with C++ equivalents

This commit is contained in:
Thaddeus Crews
2025-04-28 16:05:13 -05:00
parent a8ece29adc
commit 01fc9aee6c
101 changed files with 126 additions and 168 deletions

View File

@@ -35,7 +35,7 @@
#endif
#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
#include <stdlib.h> // alloca
#include <cstdlib> // alloca
// FreeBSD and OpenBSD use pthread_set_name_np, while other platforms,
// include NetBSD, use pthread_setname_np. NetBSD's version however requires
// a different format, we handle this directly in thread_posix.