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:
authorChris Want <cwant@ualberta.ca>2003-05-25 00:04:37 +0400
committerChris Want <cwant@ualberta.ca>2003-05-25 00:04:37 +0400
commit924a8497551be7d83bb577e94ebf89b18374b874 (patch)
tree5912852343da88dcc863a56ab641e60983a5432b /source/blender/blenlib/BLI_winstuff.h
parent94c4250d9f7ca57d9af7a7265fcdec0b4e94e5b3 (diff)
Support for building bf-blender under windows with gcc (huge thanks to
Florian Eggenburger). Full instructions are in doc/README.windows-gcc. Main differences from Florian's patch: - the 'lib' dir should now be the same level as the 'blender' dir (rather than being a subdir of 'blender'). This is consistent with the other platforms that bf-blender supports (tuhopuu will also adopt this convention hopefully soon). - the script 'free_windows-env.mk' is no longer needed ... see the docs about how this is overcome (again, tuhopuu will hopefully also follow this route soon). - the dlltool dir has it's own Makefile that builds all of the needed stub libraries from the dll's in cvs.
Diffstat (limited to 'source/blender/blenlib/BLI_winstuff.h')
-rw-r--r--source/blender/blenlib/BLI_winstuff.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_winstuff.h b/source/blender/blenlib/BLI_winstuff.h
index b09fcbafa8c..b9f92aedb98 100644
--- a/source/blender/blenlib/BLI_winstuff.h
+++ b/source/blender/blenlib/BLI_winstuff.h
@@ -69,7 +69,9 @@
#define S_ISDIR(x) ((x&S_IFMT) == S_IFDIR)
#endif
+#ifndef FREE_WINDOWS
typedef unsigned int mode_t;
+#endif
struct dirent {
int d_ino;
@@ -91,8 +93,10 @@ typedef struct _DIR {
} DIR;
void RegisterBlendExtension(char * str);
+#ifndef FREE_WINDOWS
int strcasecmp (char *s1, char *s2);
int strncasecmp (char *s1, char *s2, int n);
+#endif
DIR *opendir (const char *path);
struct dirent *readdir(DIR *dp);
int closedir (DIR *dp);