Skip to content

Commit 598e8bc

Browse files
committed
Fixed windows compilation issues
1 parent 9b052b0 commit 598e8bc

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/game/camera.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -643,6 +643,10 @@ struct LakituState {
643643
u32 skipCameraInterpolationTimestamp;
644644
};
645645

646+
#ifdef __cplusplus
647+
extern "C" {
648+
#endif
649+
646650
// bss order hack to not affect BSS order. if possible, remove me, but it will be hard to match otherwise
647651
#ifndef INCLUDED_FROM_CAMERA_C
648652
// BSS
@@ -757,4 +761,8 @@ void obj_rotate_towards_point(struct Object *o, Vec3f point, s16 pitchOff, s16 y
757761

758762
Gfx *geo_camera_fov(s32 callContext, struct GraphNode *g, UNUSED void *context);
759763

764+
#ifdef __cplusplus
765+
}
766+
#endif
767+
760768
#endif // CAMERA_H

0 commit comments

Comments
 (0)