projects
/
platform
/
upstream
/
assimp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdcff35
)
DefaultIOStream: add missing detection for apple-based OS.
author
Kim Kulling
<kim.kulling@googlemail.com>
Fri, 12 Aug 2016 16:14:26 +0000
(18:14 +0200)
committer
Kim Kulling
<kim.kulling@googlemail.com>
Fri, 12 Aug 2016 16:14:26 +0000
(18:14 +0200)
code/DefaultIOStream.cpp
patch
|
blob
|
history
diff --git
a/code/DefaultIOStream.cpp
b/code/DefaultIOStream.cpp
index
73bfb35
..
d10c303
100644
(file)
--- a/
code/DefaultIOStream.cpp
+++ b/
code/DefaultIOStream.cpp
@@
-126,7
+126,7
@@
size_t DefaultIOStream::FileSize() const
if (0 != err)
return 0;
cachedSize = (size_t) (fileStat.st_size);
-#elif defined __gnu_linux__
+#elif defined __gnu_linux__
|| defined __APPLE__ || defined __MACH__
struct stat fileStat;
int err = stat(mFilename.c_str(), &fileStat );
if (0 != err)