Commit c9731e1
authored
fix(dev): Add compiler flags for MSVC (#5366)
To get `couchjs` compiled on Windows with newer
SpiderMonkeys (102, 115 and 128), we need to tell
the MS compiler (cl.exe) to compile macros with
`__VA_ARGS__` correctly. To get this, we need to
add an extra compile flag `/Zc:preprocessor`.
Add `/utf-8` to correctly parse source files.1 parent 4147a8c commit c9731e1
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
225 | | - | |
| 225 | + | |
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
230 | | - | |
| 230 | + | |
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
235 | | - | |
| 235 | + | |
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
| |||
0 commit comments