We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32db660 commit abdd11dCopy full SHA for abdd11d
2 files changed
.github/workflows/ci.yml
@@ -8,13 +8,18 @@ on:
8
9
jobs:
10
build-and-test:
11
- runs-on: ubuntu-latest
+ strategy:
12
+ matrix:
13
+ os: [ubuntu-latest, macos-latest, windows-latest]
14
+ runs-on: ${{ matrix.os }}
15
16
steps:
17
- uses: actions/checkout@v4
18
19
- name: Build library
20
+ shell: bash
21
run: make lib
22
23
- name: Build and run tests
24
25
run: make test
src/miniexpr.c
@@ -46,6 +46,13 @@ For log = natural log do nothing (NumPy compatible)
46
For log = base 10 log comment the next line. */
47
#define ME_NAT_LOG
48
49
+#if defined(_MSC_VER)
50
+// Enable C99 complex support on MSVC
51
+#ifndef _CRT_USE_C99_COMPLEX
52
+#define _CRT_USE_C99_COMPLEX
53
+#endif
54
55
+
56
#include "miniexpr.h"
57
#include <stdlib.h>
58
#include <math.h>
0 commit comments