Skip to content

Commit

Permalink
Use extern C if C++
Browse files Browse the repository at this point in the history
  • Loading branch information
JaciBrunning committed Jan 29, 2017
1 parent 718cbe0 commit 72ff7ba
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Pathfinder-Core/include/pathfinder.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#ifndef PATHFINDER_H_DEF
#define PATHFINDER_H_DEF

#ifdef __cplusplus
extern "C" {
#endif

#include "pathfinder/mathutil.h"
#include "pathfinder/structs.h"

Expand All @@ -16,4 +20,8 @@

#include "pathfinder/io.h"

#ifdef __cplusplus
}
#endif

#endif

0 comments on commit 72ff7ba

Please sign in to comment.