Bug 54737

Summary: [PATCH] Fix build with the Android NDK
Product: FriBidi Reporter: Andoni Morales Alastruey <ylatuya>
Component: generalAssignee: Behdad Esfahbod <freedesktop>
Status: NEW --- QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Fix build with the Android NDK

Description Andoni Morales Alastruey 2012-09-10 16:23:29 UTC
Created attachment 66931 [details] [review]
Fix build with the Android NDK

The build fails with the Android NDK, where the int64 types are not defined with the -ansi parameter. From usr/include/stdint.h:

44 #if !defined __STRICT_ANSI__ || __STDC_VERSION__ >= 199901L
45 #  define __STDC_INT64__
46 #endif

Attached patch

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.