[Bf-blender-cvs] [61616b0] master: Code cleanup: indent preprocessor directives inside #ifdef

Sergey Sharybin noreply at git.blender.org
Thu Dec 12 08:10:46 CET 2013


Commit: 61616b0b8898b9736a64341a4a6fea46ad8ea802
Author: Sergey Sharybin
Date:   Thu Dec 12 13:10:03 2013 +0600
http://developer.blender.org/rB61616b0b8898b9736a64341a4a6fea46ad8ea802

Code cleanup: indent preprocessor directives inside #ifdef

===================================================================

M	source/blender/blenkernel/intern/image.c
M	source/blender/blenkernel/intern/movieclip.c

===================================================================

diff --git a/source/blender/blenkernel/intern/image.c b/source/blender/blenkernel/intern/image.c
index d59a23c..82ea3cb 100644
--- a/source/blender/blenkernel/intern/image.c
+++ b/source/blender/blenkernel/intern/image.c
@@ -33,16 +33,16 @@
 #include <fcntl.h>
 #include <math.h>
 #ifndef WIN32
-#include <unistd.h>
+#  include <unistd.h>
 #else
-#include <io.h>
+#  include <io.h>
 #endif
 
 #include <time.h>
 
 #ifdef _WIN32
-#define open _open
-#define close _close
+#  define open _open
+#  define close _close
 #endif
 
 #include "MEM_guardedalloc.h"
@@ -52,7 +52,7 @@
 #include "IMB_imbuf.h"
 
 #ifdef WITH_OPENEXR
-#include "intern/openexr/openexr_multi.h"
+#  include "intern/openexr/openexr_multi.h"
 #endif
 
 #include "DNA_packedFile_types.h"
diff --git a/source/blender/blenkernel/intern/movieclip.c b/source/blender/blenkernel/intern/movieclip.c
index d9630a7..fb489bf 100644
--- a/source/blender/blenkernel/intern/movieclip.c
+++ b/source/blender/blenkernel/intern/movieclip.c
@@ -34,16 +34,16 @@
 #include <fcntl.h>
 
 #ifndef WIN32
-#include <unistd.h>
+#  include <unistd.h>
 #else
-#include <io.h>
+#  include <io.h>
 #endif
 
 #include <time.h>
 
 #ifdef _WIN32
-#define open _open
-#define close _close
+#  define open _open
+#  define close _close
 #endif
 
 #include "MEM_guardedalloc.h"
@@ -82,7 +82,7 @@
 #include "IMB_moviecache.h"
 
 #ifdef WITH_OPENEXR
-#include "intern/openexr/openexr_multi.h"
+#  include "intern/openexr/openexr_multi.h"
 #endif
 
 #include "NOD_composite.h"




More information about the Bf-blender-cvs mailing list