[Bf-blender-cvs] [54bc2f2] cycles-ptex-06: Add header guards
Nicholas Bishop
noreply at git.blender.org
Fri Jan 16 12:54:38 CET 2015
Commit: 54bc2f2fdd7bdf79eb3b549bd7a9d8940a5f9bc4
Author: Nicholas Bishop
Date: Fri Jan 16 12:28:38 2015 +0100
Branches: cycles-ptex-06
https://developer.blender.org/rB54bc2f2fdd7bdf79eb3b549bd7a9d8940a5f9bc4
Add header guards
===================================================================
M extern/ptex/bl_ptex.h
===================================================================
diff --git a/extern/ptex/bl_ptex.h b/extern/ptex/bl_ptex.h
index c2418cb..4e4668a 100644
--- a/extern/ptex/bl_ptex.h
+++ b/extern/ptex/bl_ptex.h
@@ -1,4 +1,9 @@
+#ifndef __BL_PTEX_H__
+#define __BL_PTEX_H__
+
// Silence warning
#define NEW_API 0
#include "src/ptex/Ptexture.h"
+
+#endif
More information about the Bf-blender-cvs
mailing list