Sha256: 1d492de5be98d731fcbad067a15cefc9486151babf13d2b0d47fb7537d815e63

Contents?: true

Size: 746 Bytes

Versions: 53

Compression:

Stored size: 746 Bytes

Contents

#if defined(__APPLE__) && !defined(__arm__) && !defined(__IPHONE_4_0)
/* Simulator 3.2 or less */
#define RHO_IPHONE_SIMULATOR_3
#endif

#ifdef RHO_IPHONE_SIMULATOR_3
#ifdef stat
#undef stat
#endif
#ifdef lstat
#undef lstat
#endif
#ifdef fstat
#undef fstat
#endif
#endif

#include <sys/stat.h>

#ifdef RHO_IPHONE_SIMULATOR_3
/* 
 * map stat functions and structure to theirs 64-bit analogues to be binary
 * compatible with iPhone 4 x86/x86_64 application - in iPhone 4 SDK stat
 * become 64-bit only so enabling such mapping we could run applications built
 * with 3.x SDK on iPhone 4 simulator
 * This is not required for iPhone devices - there stat was always 64-bit.
 */
#define stat stat64
#define lstat lstat64
#define fstat fstat64
#endif

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
rhodes-3.0.2 platform/shared/common/stat.h
rhodes-3.0.2.beta.1 platform/shared/common/stat.h
rhodes-3.0.1 platform/shared/common/stat.h
rhodes-3.0.1.beta.8 platform/shared/common/stat.h
rhodes-3.0.1.beta.7 platform/shared/common/stat.h
rhodes-3.0.1.beta.6 platform/shared/common/stat.h
rhodes-3.0.1.beta.5 platform/shared/common/stat.h
rhodes-3.0.1.beta.4 platform/shared/common/stat.h
rhodes-3.0.1.beta.3 platform/shared/common/stat.h
rhodes-3.0.1.beta.2 platform/shared/common/stat.h
rhodes-3.0.0 platform/shared/common/stat.h
rhodes-3.0.0.beta.7 platform/shared/common/stat.h
rhodes-3.0.0.beta.6 platform/shared/common/stat.h
rhodes-3.0.0.beta.5 platform/shared/common/stat.h
rhodes-3.0.0.beta.4 platform/shared/common/stat.h
rhodes-3.0.0.beta.3 platform/shared/common/stat.h
rhodes-3.0.0.beta.2 platform/shared/common/stat.h
rhodes-3.0.0.beta.1 platform/shared/common/stat.h
rhodes-2.4.1 platform/shared/common/stat.h
rhodes-2.4.1.beta.1 platform/shared/common/stat.h