Permalink
Browse files

do not use #import to load headers

this is Objective-C directive not valid in C
  • Loading branch information...
1 parent d342fb3 commit c75ca647139dbc25e9a76f1766980ed80df0c7d1 @blazewicz blazewicz committed Oct 7, 2016
Showing with 3 additions and 3 deletions.
  1. +1 −1 demo/Bench.c
  2. +2 −2 include/chipmunk/chipmunk_types.h
View
@@ -4,7 +4,7 @@
#define ENABLE_HASTY 0
#if ENABLE_HASTY
- #import "chipmunk/cpHastySpace.h"
+ #include "chipmunk/cpHastySpace.h"
static cpSpace *MakeHastySpace(){
cpSpace *space = cpHastySpaceNew();
@@ -39,8 +39,8 @@
#if CP_USE_CGTYPES
#if TARGET_OS_IPHONE
- #import <CoreGraphics/CGGeometry.h>
- #import <CoreGraphics/CGAffineTransform.h>
+ #include <CoreGraphics/CGGeometry.h>
+ #include <CoreGraphics/CGAffineTransform.h>
#elif TARGET_OS_MAC
#include <ApplicationServices/ApplicationServices.h>
#endif

0 comments on commit c75ca64

Please sign in to comment.