[geany/geany] 5a243f: Explicitly define Windows version for older Mingw environments

Enrico Tröger git-noreply at xxxxx
Wed Oct 15 15:33:57 UTC 2014


Branch:      refs/heads/master
Author:      Enrico Tröger <enrico.troeger at uvena.de>
Committer:   Enrico Tröger <enrico.troeger at uvena.de>
Date:        Wed, 15 Oct 2014 15:33:57 UTC
Commit:      5a243fd2241059da111f5078bade141d0b0711bc
             https://github.com/geany/geany/commit/5a243fd2241059da111f5078bade141d0b0711bc

Log Message:
-----------
Explicitly define Windows version for older Mingw environments


Modified Paths:
--------------
    wscript

Modified: wscript
3 lines changed, 3 insertions(+), 0 deletions(-)
===================================================================
@@ -262,6 +262,9 @@ but you then may not have a local copy of the HTML manual.'''
             '-static-libgcc',
             '-static-libstdc++'])
         conf.env.append_value('LIB_WIN32', ['wsock32', 'uuid', 'ole32', 'iberty'])
+        # explicitly define Windows version for older Mingw environments
+        conf.define('WINVER', '0x0501', quote=False)  # for SHGetFolderPathAndSubDirW
+        conf.define('_WIN32_IE', '0x0500', quote=False)  # for SHGFP_TYPE
     else:
         conf.env['cshlib_PATTERN'] = '%s.so'
         # DATADIR and LOCALEDIR are defined by the intltool tool



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list