Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Letwory <nathan@letworyinteractive.com>2008-11-08 15:01:55 +0300
committerNathan Letwory <nathan@letworyinteractive.com>2008-11-08 15:01:55 +0300
commitfecdd6045394c3b8faba44e0981e894ff7a48a4e (patch)
tree51811600c375ce31668650ee61d66327eaa86a80
parente3ca8765bee815c7daded844704d7075dda81c90 (diff)
* use msvc proposed names when building on win32
-rw-r--r--intern/SoundSystem/intern/SND_Utils.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/intern/SoundSystem/intern/SND_Utils.cpp b/intern/SoundSystem/intern/SND_Utils.cpp
index 78115807970..26ce106a24e 100644
--- a/intern/SoundSystem/intern/SND_Utils.cpp
+++ b/intern/SoundSystem/intern/SND_Utils.cpp
@@ -40,8 +40,13 @@
#include <math.h>
#include <string.h>
-#if defined(WIN32)
+#if defined(_WIN32)
#include <io.h>
+#define open _open
+#define read _read
+#define close _close
+#define write _write
+#define lseek _lseek
#else
#include <unistd.h>
#endif