ref: 127c1e833189b563b3df067b492389499817bbd1
parent: 0574692c6db873c7782cfee68cef504300e608e1
author: Carlo Bramini <[email protected]>
date: Wed Mar 23 18:53:07 EDT 2022
[builds/windows] Fix WCE support. * builds/windows/ftsystem.c [_WIN32_WCE]: Include <malloc.h> needed by _alloca.
--- a/builds/windows/ftsystem.c
+++ b/builds/windows/ftsystem.c
@@ -253,6 +253,8 @@
#if defined( _WIN32_WCE )
+ /* malloc.h provides implementation of alloca()/_alloca() */
+ #include <malloc.h>
FT_LOCAL_DEF( HANDLE )
CreateFileA( LPCSTR lpFileName,