Skip to content

Commit 7fa492a

Browse files
committed
Remove Extern C for raymath, it breaks some cases in mingw-w64 and does not fix any warning issues.
1 parent ee3f5ec commit 7fa492a

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/raymath.h

-7
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,6 @@
7878
#endif
7979

8080

81-
#if defined(__cplusplus)
82-
extern "C" { // Prevents name mangling of functions
83-
#endif
84-
8581
//----------------------------------------------------------------------------------
8682
// Defines and Macros
8783
//----------------------------------------------------------------------------------
@@ -2528,8 +2524,5 @@ RMAPI int QuaternionEquals(Quaternion p, Quaternion q)
25282524

25292525
return result;
25302526
}
2531-
#if defined(__cplusplus)
2532-
}
2533-
#endif
25342527

25352528
#endif // RAYMATH_H

0 commit comments

Comments
 (0)