freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2] master 127c1e833 2/2: [builds/windows] Fix WCE support.


From: Werner Lemberg
Subject: [freetype2] master 127c1e833 2/2: [builds/windows] Fix WCE support.
Date: Wed, 23 Mar 2022 22:56:24 -0400 (EDT)

branch: master
commit 127c1e833189b563b3df067b492389499817bbd1
Author: Carlo Bramini <carlo.bramix@libero.it>
Commit: Alexei Podtelezhnikov <apodtele@gmail.com>

    [builds/windows] Fix WCE support.
    
    * builds/windows/ftsystem.c [_WIN32_WCE]: Include <malloc.h> needed by
    _alloca.
---
 builds/windows/ftsystem.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/builds/windows/ftsystem.c b/builds/windows/ftsystem.c
index 34d7c2cbf..982085189 100644
--- 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,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]