1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00

Fix linkage on macOS

This commit is contained in:
Michał Janiszewski
2018-03-21 15:41:27 +01:00
committed by Michał Janiszewski
parent fc97c8c5db
commit 06e97ab6e2

View File

@@ -51,7 +51,7 @@ char *safe_strcpy(char * destination, const char * source, size_t num);
char *safe_strcat(char *destination, const char *source, size_t size);
char *safe_strcat_path(char *destination, const char *source, size_t size);
char *safe_strtrimleft(char *destination, const char *source, size_t size);
#if !defined(_GNU_SOURCE)
#if !(defined(_GNU_SOURCE) || (defined(__DARWIN_C_LEVEL) && __DARWIN_C_LEVEL >= 200809L))
char * strcasestr(const char * haystack, const char * needle);
#endif