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

0025963: Define HashCode() for an unsigned int within armv7 target

OSD_EnvironmentIterator - do not use _NSGetEnviron() on iOS.
This commit is contained in:
kgv
2015-03-23 18:37:41 +03:00
committed by apn
parent a3ac9c24ce
commit d44e14e3f6
2 changed files with 9 additions and 5 deletions

View File

@@ -12,7 +12,7 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef WNT
#ifndef _WIN32
//---------- All Systems except windowsNT : ----------------------------------
@@ -21,10 +21,14 @@
//const OSD_WhoAmI Iam = OSD_WEnvironmentIterator;
#ifdef __APPLE__
#include <crt_externs.h>
#define environ (*_NSGetEnviron())
#if defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE
#include <crt_externs.h>
#define environ (*_NSGetEnviron())
#else
extern char **environ;
#endif
#else
extern char **environ;
extern char **environ;
#endif
OSD_EnvironmentIterator::OSD_EnvironmentIterator(){