diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-04-15 11:54:07 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-04-15 11:54:07 +0400 |
commit | a73d0d3e72940ecd0e3e60c8e4e858c7e00ff5e2 (patch) | |
tree | 554c462fa090dad417a0e0371a7647007c33b1ba /source/blender/editors/interface | |
parent | a8077c8222876bdc67cfbc9ae56b04a12c8657e9 (diff) |
code cleanup: dont include BLI_winstuff.h on non windows systems, also cleanup some defines/includes for windows.
Diffstat (limited to 'source/blender/editors/interface')
-rw-r--r-- | source/blender/editors/interface/interface_icons.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/source/blender/editors/interface/interface_icons.c b/source/blender/editors/interface/interface_icons.c index ba7c12d164b..e20b60cd77e 100644 --- a/source/blender/editors/interface/interface_icons.c +++ b/source/blender/editors/interface/interface_icons.c @@ -33,12 +33,13 @@ #include <string.h> #ifndef WIN32 -#include <unistd.h> +# include <unistd.h> #else -#include <io.h> -#include <direct.h> -#include "BLI_winstuff.h" -#endif +# include <io.h> +# include <direct.h> +# include "BLI_winstuff.h" +#endif + #include "MEM_guardedalloc.h" #include "GPU_extensions.h" |