diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2010-11-12 01:09:09 +0300 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2010-11-12 01:09:09 +0300 |
commit | 9860832820732a3853f851beff73fa7c2ac1d8db (patch) | |
tree | f0e34e06fd5df492fe8bdea0f0de1220a24aad00 /source | |
parent | bc3ea2cb6697a6ebf263504105320a7a7b784075 (diff) |
Fix compile problems for msvc.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenlib/BLI_winstuff.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/source/blender/blenlib/BLI_winstuff.h b/source/blender/blenlib/BLI_winstuff.h index e6ebd4935d9..2b0f548f5dd 100644 --- a/source/blender/blenlib/BLI_winstuff.h +++ b/source/blender/blenlib/BLI_winstuff.h @@ -89,15 +89,6 @@ extern "C" { #endif /* defines for using ISO C++ conformant names */ -#define open _open -#define close _close -#define write _write -#define read _read -#define getcwd _getcwd -#define chdir _chdir -#define strdup _strdup -#define lseek _lseek -#define getpid _getpid #define snprintf _snprintf #ifndef FREE_WINDOWS @@ -141,15 +132,13 @@ void get_default_root(char *root); int check_file_chars(char *filename); char *dirname(char *path); -#ifdef WIN32 int BLI_getInstallationDir(char *str); -#endif #ifdef __cplusplus } #endif -#endif +#endif /* _WIN32 */ #endif /* __WINSTUFF_H__ */ |