summaryrefslogtreecommitdiff
path: root/src/depend
diff options
context:
space:
mode:
authorJoe Stringer <joe@wand.net.nz>2019-10-05 16:21:36 -0700
committerNiels Martin Hansen <nielsm@indvikleren.dk>2019-10-07 21:36:00 +0200
commit66c32533ec2adfea49579e0a64e3d32de2fa438c (patch)
tree80093a4468a6231eecf380aae3d9d9635add981b /src/depend
parentdd11990ce0d3c523717c50e7a88177f5d92baa41 (diff)
downloadopenttd-66c32533ec2adfea49579e0a64e3d32de2fa438c.tar.xz
Fix: [Cygwin] Fix missing definitions in stdafx
Fix the following compile errors: In file included from openttd/src/debug.h:15:0, from openttd/src/string.cpp:13: openttd/src/cpu.h:35:19: error: 'uint' was not declared in this scope bool HasCPUIDFlag(uint type, uint index, uint bit); openttd/src/string.cpp: In function 'char* strcasestr(const char*, const char*)': openttd/src/string.cpp:548:7: error: 'strncasecmp' was not declared in this scope if (strncasecmp(haystack, needle, needle_len) == 0) return const_cast<char *>(haystack); openttd/src/strgen/strgen_base.cpp: In function 'void EmitPlural(Buffer*, char*, int)': openttd/src/core/alloc_func.hpp:136:6: error: 'alloca' was not declared in this scope (T*)alloca((num_elements) * sizeof(T))) Signed-off-by: Joe Stringer <joe@wand.net.nz>
Diffstat (limited to 'src/depend')
0 files changed, 0 insertions, 0 deletions