Commit 6d3ae09
committed
include windows.h instead of synchapi.h for win32
the win32 API uses some architecture-specific defines, but they're not
defined by the MSVC compiler - they're defined directly in windows.h
based on symbols defined by the MSVC compiler. rather than setting the
architecture symbols ourselves, just import windows.h as a whole.
this also needed to disable the short-name symbols in cmark-gfm.h,
because there are some clashing symbols in win32 headers.1 parent 97d1b5e commit 6d3ae09
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
807 | 807 | | |
808 | 808 | | |
809 | 809 | | |
810 | | - | |
| 810 | + | |
811 | 811 | | |
812 | 812 | | |
813 | 813 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
0 commit comments