mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-07-10 12:25:50 +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:
parent
e2409d34b5
commit
42624fdc75
@ -27,7 +27,11 @@ SOFTWARE.
|
|||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
// gcc 4.9 for Android doesn't have search.h
|
||||||
|
#if !defined(__ANDROID__) || defined(__clang__)
|
||||||
#include <search.h>
|
#include <search.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#if (defined(__APPLE__))
|
#if (defined(__APPLE__))
|
||||||
#include <malloc/malloc.h>
|
#include <malloc/malloc.h>
|
||||||
|
@ -20,8 +20,9 @@
|
|||||||
|
|
||||||
#include <Standard_Macro.hxx>
|
#include <Standard_Macro.hxx>
|
||||||
|
|
||||||
# include <string.h>
|
#include <stdarg.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
# if defined(_MSC_VER) && ! defined(strcasecmp)
|
# if defined(_MSC_VER) && ! defined(strcasecmp)
|
||||||
# define strcasecmp _stricmp
|
# define strcasecmp _stricmp
|
||||||
|
Loading…
x
Reference in New Issue
Block a user