Commits

Anonymous committed adbf611

added extern "C" safeguard

Comments (0)

Files changed (1)

 #include <stdio.h>
 #include <stdlib.h>
 #include <math.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif //__cplusplus
+
 #include "watch.h"
 #include "permutation.h"
 #include "packedmatrix.h"
 #include "grayflex.h"
 #include "parity.h"
 
+#ifdef __cplusplus
+}
+#endif //__cplusplus
+
 #endif //M4RI_H