0ad/source/lib
Ralph Sennhauser 45afefa961
Rename wcsnlen and strnlen to C11 names
Those functions were added to the C11 standard as an extension under the
name wcsnlen_s and strnlen_s. Also supported under that name in Windows.

Renaming avoids a possible name conflict with the posix functions of the
same name. Further this new name follows the pattern of names of the
other "secure" functions.

Fixes: #8274
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
2025-08-10 07:33:00 +02:00
..
adts Fix some includes in source/lib 2025-07-25 07:11:21 +02:00
allocators Fix includes in source/lib 2025-08-03 10:15:37 +02:00
external_libraries Fix some includes in source/lib 2025-07-17 20:07:25 +02:00
file Fix includes in source/lib 2025-08-03 10:15:37 +02:00
pch Fix includes in source/lib 2025-08-03 10:15:37 +02:00
posix Fix includes in source/lib 2025-08-03 10:15:37 +02:00
sysdep Use conforming preprocessor with modern MSVC 2025-08-04 17:35:48 +02:00
tests Fix includes in source/lib 2025-08-03 10:15:37 +02:00
tex Fix includes in source/lib 2025-08-03 10:15:37 +02:00
alignment.h Fix some headers in gui 2025-07-02 13:20:13 +02:00
app_hooks.cpp Fix some includes in source/lib 2025-07-17 20:07:25 +02:00
app_hooks.h Fix some includes in source/lib 2025-07-25 07:11:21 +02:00
bits.cpp Fix some includes in source/lib 2025-07-17 20:07:25 +02:00
bits.h Update some includes for iwyu part 1 2025-06-20 09:01:19 +02:00
build_version.cpp Get rid of svnversion. 2024-08-20 19:10:54 +02:00
build_version.h Switch main branch to Release 28 2025-01-12 01:27:02 +01:00
byte_order.cpp Fix some includes in source/lib 2025-07-17 20:07:25 +02:00
byte_order.h Update some includes for iwyu part 1 2025-06-20 09:01:19 +02:00
code_annotation.h Remove UNUSED2 2025-07-28 13:16:37 +02:00
code_generation.h Use std::atomic instead of platform-dependant code 2024-09-25 21:57:15 +02:00
config.h Remove CONFIG_ENABLE_BOOST 2025-02-14 20:35:04 +01:00
config2.h Dap Interface with Spidermonkey debug 2025-07-11 11:06:04 -05:00
debug.cpp Fix some includes in source/lib 2025-07-17 20:07:25 +02:00
debug.h Prefer [[maybe_unused]] over UNUSED2 2025-07-28 13:16:37 +02:00
debug_stl.cpp Prefer [[maybe_unused]] over UNUSED2 2025-07-28 13:16:37 +02:00
debug_stl.h Update some includes for iwyu part 1 2025-06-20 09:01:19 +02:00
fnv_hash.cpp Removes unused fnv_lc_hash, also file paths case sensitive so we can't use the function. 2021-11-25 16:58:04 +00:00
fnv_hash.h Fix some includes in source/lib 2025-07-17 20:07:25 +02:00
frequency_filter.cpp Fix some includes in source/lib 2025-07-17 20:07:25 +02:00
frequency_filter.h Fix some includes in source/lib 2025-07-17 20:07:25 +02:00
hash.h Fix some includes in source/lib 2025-07-25 07:11:21 +02:00
input.cpp Fix some includes in source/lib 2025-07-25 07:11:21 +02:00
input.h Fix some includes in source/lib 2025-07-25 07:11:21 +02:00
lib.cpp Fix some includes in source/lib 2025-07-17 20:07:25 +02:00
lib.h Fix some includes in source/lib 2025-07-17 20:07:25 +02:00
module_init.cpp Fix some includes in source/lib 2025-07-17 20:07:25 +02:00
module_init.h Fix some includes in source/lib 2025-07-17 20:07:25 +02:00
ogl.cpp Fix includes in source/lib 2025-08-03 10:15:37 +02:00
ogl.h Remove OS_MAC macro 2025-07-19 18:16:14 +02:00
os_path.h Fix some includes in source/lib 2025-07-25 07:11:21 +02:00
path.cpp Fix some includes in source/lib 2025-07-17 20:07:25 +02:00
path.h Fix some includes in source/lib 2025-07-25 07:11:21 +02:00
precompiled.h Fix includes in source/lib 2025-08-03 10:15:37 +02:00
rand.cpp Fix some includes in source/lib 2025-07-17 20:07:25 +02:00
rand.h Fix some includes in source/lib 2025-07-17 20:07:25 +02:00
regex.cpp Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
regex.h Make all Wildfire Games copyright headers consistent by always ending with a period and using (C) instead of (c). 2017-07-10 14:26:24 +00:00
secure_crt.cpp Rename wcsnlen and strnlen to C11 names 2025-08-10 07:33:00 +02:00
secure_crt.h Rename wcsnlen and strnlen to C11 names 2025-08-10 07:33:00 +02:00
self_test.h Fix some includes in source/lib 2025-07-25 07:11:21 +02:00
status.cpp Fix includes in source/lib 2025-08-03 10:15:37 +02:00
status.h Fix includes in source/lib 2025-08-03 10:15:37 +02:00
timer.cpp Fix includes in source/lib 2025-08-03 10:15:37 +02:00
timer.h Fix includes in source/lib 2025-08-03 10:15:37 +02:00
types.h Fix includes in source/lib 2025-08-03 10:15:37 +02:00
utf8.cpp Fix some includes in source/lib 2025-07-25 07:11:21 +02:00
utf8.h Fix some headers in gui 2025-07-02 13:20:13 +02:00
wsecure_crt.cpp Make all Wildfire Games copyright headers consistent by always ending with a period and using (C) instead of (c). 2017-07-10 14:26:24 +00:00