Przeglądaj źródła

Include guards.

NathanSweet 12 lat temu
rodzic
commit
1c74777487
1 zmienionych plików z 5 dodań i 0 usunięć
  1. 5 0
      spine-cocos2dx/src/spine/spine-cocos2dx.h

+ 5 - 0
spine-cocos2dx/src/spine/spine-cocos2dx.h

@@ -23,6 +23,9 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  ******************************************************************************/
 
+#ifndef SPINE_COCOS2DX_H_
+#define SPINE_COCOS2DX_H_
+
 #include <spine/spine.h>
 #include "cocos2d.h"
 
@@ -72,3 +75,5 @@ typedef struct {
 } Cocos2dxRegionAttachment;
 
 }
+
+#endif /* SPINE_COCOS2DX_H_ */