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

All BSD-like platforms have alloca in stdlib.h

This commit is contained in:
Frédéric Fauberteau
2025-02-08 10:58:15 +01:00
parent 02cdf79c82
commit 98e7d3ea32

View File

@@ -18,8 +18,10 @@
#include <vector>
#ifndef _WIN32
#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__)
#if defined(__linux__) || defined(__sun)
#include <alloca.h>
#else
#include <stdlib.h>
#endif
#include <unicode/ucnv.h>
#include <unicode/unistr.h>