Skip to content

Commit 74565e7

Browse files
committed
Merge pull request #207 from xiaofeng11/v3_chipmunk
Set get_cpCollisionHandlerDoNothing function win32 only
2 parents 3515854 + 523539a commit 74565e7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

chipmunk/include/chipmunk/chipmunk_private.h

+2
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,9 @@ struct cpSpace {
695695
void cpSpaceSetStaticBody(cpSpace *space, cpBody *body);
696696

697697
extern cpCollisionHandler cpCollisionHandlerDoNothing;
698+
#if defined(_WINDOWS) && (defined(_WIN32) || defined(WIN32))
698699
CP_EXPORT cpCollisionHandler * get_cpCollisionHandlerDoNothing();
700+
#endif
699701

700702
void cpSpaceProcessComponents(cpSpace *space, cpFloat dt);
701703

0 commit comments

Comments
 (0)