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:
@@ -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(){
|
||||
|
Reference in New Issue
Block a user