aboutsummaryrefslogtreecommitdiff
path: root/backends/fs
diff options
context:
space:
mode:
authorMax Horn2011-05-05 15:38:54 +0200
committerMax Horn2011-05-25 13:23:03 +0200
commit39076ef9722529d80feff94bdff25843beb4fc13 (patch)
treea810a8492df5a0bdebedd02ee88908309ef33de0 /backends/fs
parent6639eacb3ae7189bd18e4267d0115caa0a05edb4 (diff)
downloadscummvm-rg350-39076ef9722529d80feff94bdff25843beb4fc13.tar.gz
scummvm-rg350-39076ef9722529d80feff94bdff25843beb4fc13.tar.bz2
scummvm-rg350-39076ef9722529d80feff94bdff25843beb4fc13.zip
BUILD: Rename UNIX #define to POSIX
Diffstat (limited to 'backends/fs')
-rw-r--r--backends/fs/posix/posix-fs-factory.cpp2
-rw-r--r--backends/fs/posix/posix-fs.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/backends/fs/posix/posix-fs-factory.cpp b/backends/fs/posix/posix-fs-factory.cpp
index c94e90ccde..ccff8a8b42 100644
--- a/backends/fs/posix/posix-fs-factory.cpp
+++ b/backends/fs/posix/posix-fs-factory.cpp
@@ -19,7 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#if defined(UNIX)
+#if defined(POSIX)
// Re-enable some forbidden symbols to avoid clashes with stat.h and unistd.h.
// Also with clock() in sys/time.h in some Mac OS X SDKs.
diff --git a/backends/fs/posix/posix-fs.cpp b/backends/fs/posix/posix-fs.cpp
index 7f2ca695c5..08a7601c17 100644
--- a/backends/fs/posix/posix-fs.cpp
+++ b/backends/fs/posix/posix-fs.cpp
@@ -19,7 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#if defined(UNIX)
+#if defined(POSIX)
// Re-enable some forbidden symbols to avoid clashes with stat.h and unistd.h.
// Also with clock() in sys/time.h in some Mac OS X SDKs.
@@ -249,4 +249,4 @@ Common::WriteStream *POSIXFilesystemNode::createWriteStream() {
return StdioStream::makeFromPath(getPath(), true);
}
-#endif //#if defined(UNIX)
+#endif //#if defined(POSIX)