diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2014-05-15 21:07:31 +0000 |
|---|---|---|
| committer | Johan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl> | 2014-05-15 21:07:31 +0000 |
| commit | 11bb6f3d4fedd1d22637f00a480dea54d505c23c (patch) | |
| tree | 164f2f8b4819884f1b24cecedb5ab3cd0126fb22 /src/ui/dialog/filedialogimpl-win32.h | |
| parent | Remove debugging output (diff) | |
| download | inkscape-11bb6f3d4fedd1d22637f00a480dea54d505c23c.tar.gz inkscape-11bb6f3d4fedd1d22637f00a480dea54d505c23c.zip | |
make windows filedialog's code more portable for different mingw versions (failed on 64bit)
(bzr r13380)
Diffstat (limited to 'src/ui/dialog/filedialogimpl-win32.h')
| -rw-r--r-- | src/ui/dialog/filedialogimpl-win32.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ui/dialog/filedialogimpl-win32.h b/src/ui/dialog/filedialogimpl-win32.h index a71ee1ad0..c523f041d 100644 --- a/src/ui/dialog/filedialogimpl-win32.h +++ b/src/ui/dialog/filedialogimpl-win32.h @@ -20,9 +20,13 @@ #if GLIBMM_DISABLE_DEPRECATED && HAVE_GLIBMM_THREADS_H # include <glibmm/threads.h> #endif - #endif + #include "gc-core.h" + // define WINVER high enough so we get the correct OPENFILENAMEW size +#ifndef WINVER +#define WINVER 0x0500 +#endif #include <windows.h> #include "filedialogimpl-gtkmm.h" |
