summaryrefslogtreecommitdiffstats
path: root/external/coinmp/Wnon-c-typedef-for-linkage.patch
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--external/coinmp/Wnon-c-typedef-for-linkage.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/external/coinmp/Wnon-c-typedef-for-linkage.patch b/external/coinmp/Wnon-c-typedef-for-linkage.patch
new file mode 100644
index 000000000..ace749d23
--- /dev/null
+++ b/external/coinmp/Wnon-c-typedef-for-linkage.patch
@@ -0,0 +1,14 @@
+--- Clp/src/Clp_C_Interface.h
++++ Clp/src/Clp_C_Interface.h
+@@ -12,9 +12,9 @@
+ #include "Coin_C_defines.h"
+
+ #if defined (CLP_EXTERN_C)
+-typedef struct {
++struct Clp_Solve {
+ ClpSolve options;
+-} Clp_Solve;
++};
+ #else
+ typedef void Clp_Solve;
+ #endif