未验证 提交 9a4fdfec 编写于 作者: J Julien Schueller 提交者: GitHub

Use __inline for msvc

上级 fca8a2a4
......@@ -22,6 +22,10 @@
#include "nlopt-util.h"
#include <stdlib.h>
#if defined(_MSC_VER)
#define inline __inline
#endif
typedef int cmp_t(void *, const void *, const void *);
static inline char *med3(char *, char *, char *, cmp_t *, void *);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册