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 <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>
|
||||
|
@ -16,12 +16,13 @@
|
||||
//! Functions working with plain C strings
|
||||
|
||||
#ifndef _Standard_CString_HeaderFile
|
||||
# define _Standard_CString_HeaderFile
|
||||
#define _Standard_CString_HeaderFile
|
||||
|
||||
#include <Standard_Macro.hxx>
|
||||
|
||||
# include <string.h>
|
||||
# include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
# if defined(_MSC_VER) && ! defined(strcasecmp)
|
||||
# define strcasecmp _stricmp
|
||||
|
Loading…
x
Reference in New Issue
Block a user