Skip to content

Commit

Permalink
Merge pull request #315 from kornerr/master
Browse files Browse the repository at this point in the history
Fix stat64 build issue with NDK 15 by definining it as stat for Android
  • Loading branch information
OpenSceneGraph git repository committed Aug 23, 2017
2 parents 1b65ade + 59d3b1e commit e4ed849
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/osgDB/FileUtils.cpp
Expand Up @@ -95,6 +95,10 @@ typedef char TCHAR;
#endif
#endif

#if defined(__ANDROID__)
#define stat64 stat
#endif

// set up _S_ISDIR()
#if !defined(S_ISDIR)
# if defined( _S_IFDIR) && !defined( __S_IFDIR)
Expand Down

0 comments on commit e4ed849

Please sign in to comment.