From f6afa4d6645868b8369c757debe8bc8663ec9c7c Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Sun, 8 Jan 2017 16:37:27 +0100 Subject: [PATCH 1/1] spychuzc.c: add missing __cdecl Signed-off-by: Heinrich Schuchardt --- src/simplex/spychuzc.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/simplex/spychuzc.c b/src/simplex/spychuzc.c index 27a4924..e320f8f 100644 --- a/src/simplex/spychuzc.c +++ b/src/simplex/spychuzc.c @@ -501,7 +501,11 @@ int spy_ls_eval_bp(SPXLP *lp, const double d[/*1+n-m*/], * On exit the routine also replaces the parameter slope with a new * value that corresponds to the new last break-point bp[num1]. */ +#ifndef __WOE__ static int fcmp(const void *v1, const void *v2) +#else +static int __cdecl fcmp(const void *v1, const void *v2) +#endif { const SPYBP *p1 = v1, *p2 = v2; if (p1->teta < p2->teta) return -1; -- 2.11.0