1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-04 13:13:25 +03:00

0031799: Configuration - compilation errors with Android NDK r12

Added missing <stdarg.h> include (va_list) to Standard_CString.hxx.
Do not include <search.h> in delabella.cpp when using gcc 4.9 from Android NDK.
This commit is contained in:
kgv
2020-09-27 19:51:56 +03:00
committed by abv
parent e2409d34b5
commit 42624fdc75
2 changed files with 9 additions and 4 deletions

View File

@@ -27,7 +27,11 @@ SOFTWARE.
#include <assert.h>
#include <stdio.h>
#include <search.h>
// gcc 4.9 for Android doesn't have search.h
#if !defined(__ANDROID__) || defined(__clang__)
#include <search.h>
#endif
#if (defined(__APPLE__))
#include <malloc/malloc.h>