windows compile fix #5

I hate windows
This commit is contained in:
NepDisk 2025-01-08 12:17:06 -05:00
parent 84320a7e39
commit b325342ec5

View file

@ -147,8 +147,14 @@ int strlwr(char *n); // from dosstr.c
#include <stddef.h> // for size_t
#ifndef SRB2_HAVE_STRLCPY
size_t strlcat(char *dst, const char *src, size_t siz);
size_t strlcpy(char *dst, const char *src, size_t siz);
#ifdef __cplusplus
extern "C" {
#endif
size_t strlcat(...)
size_t strlcpy(...)
#ifdef __cplusplus
}
#endif
#endif
// Macro for use with char foo[FOOSIZE+1] type buffers.