Skip to content

Commit

Permalink
XDG stubs: require Vista functions (ocaml#6109)
Browse files Browse the repository at this point in the history
* XDG stubs: require Vista functions
* CHANGES.md

Signed-off-by: nojebar <nicolas.ojeda.bar@lexifi.com>
  • Loading branch information
nojb authored Aug 30, 2022
1 parent 87bc1bf commit a99543b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
- Support `(foreign_objects ...)` field in `(executable ...)` and `(library
...)` stanzas (#6084, fixes #4129, @gridbugs)

- Fix compilation of Dune under esy on Windows (#6109, fixes #6098, @nojb)

3.4.1 (26-07-2022)
------------------

Expand Down
5 changes: 5 additions & 0 deletions otherlibs/xdg/xdg_stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@

#ifdef _WIN32

/* Windows Vista functions enabled */

#undef _WIN32_WINNT
#define _WIN32_WINNT 0x0600

#include <Windows.h>
#include <Knownfolders.h>
#include <Shlobj.h>
Expand Down

0 comments on commit a99543b

Please sign in to comment.