[ue4][cpp] UE4 pulls in various system headers on macOS that collide with our types. Fixes #1150.

This commit is contained in:
badlogic 2018-08-13 14:09:43 +02:00
parent e04e587abc
commit 5f9bc785cb
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@
using namespace Spine;
void dummyOnAnimationEventFunc(AnimationState *state, EventType type, TrackEntry *entry, Event *event = NULL) {
void dummyOnAnimationEventFunc(AnimationState *state, spine::EventType type, TrackEntry *entry, Event *event = NULL) {
SP_UNUSED(state);
SP_UNUSED(type);
SP_UNUSED(entry);

View File

@ -195,7 +195,7 @@ bool SkeletonBounds::intersectsSegment(Polygon *polygon, float x1, float y1, flo
return false;
}
Polygon *SkeletonBounds::getPolygon(BoundingBoxAttachment *attachment) {
spine::Polygon *SkeletonBounds::getPolygon(BoundingBoxAttachment *attachment) {
int index = _boundingBoxes.indexOf(attachment);
return index == -1 ? NULL : _polygons[index];