[geany/geany-plugins] 26edf9: scope: fixed WINVER / _WIN32_WINNT definition for Win~1

Dimitar Zhekov git-noreply at xxxxx
Sat Mar 7 13:18:37 UTC 2015


Branch:      refs/heads/master
Author:      Dimitar Zhekov <dimitar.zhekov at gmail.com>
Committer:   Dimitar Zhekov <dimitar.zhekov at gmail.com>
Date:        Sat, 07 Mar 2015 13:18:37 UTC
Commit:      26edf9c1e604cb1ef20db7f335fab0000a2c1d56
             https://github.com/geany/geany-plugins/commit/26edf9c1e604cb1ef20db7f335fab0000a2c1d56

Log Message:
-----------
scope: fixed WINVER / _WIN32_WINNT definition for Win~1


Modified Paths:
--------------
    scope/src/thread.c

Modified: scope/src/thread.c
3 lines changed, 2 insertions(+), 1 deletions(-)
===================================================================
@@ -17,6 +17,8 @@
  *  along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 
+#define _WIN32_WINNT 0x0501  /* for DebugBreakProcess(), must be before any #include-s */
+
 #include <ctype.h>
 #include <stdlib.h>
 #include <string.h>
@@ -27,7 +29,6 @@
 #ifdef G_OS_UNIX
 #include <signal.h>
 #else
-#define WINVER 0x0501
 #include <limits.h>
 #include <windows.h>
 #endif



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


More information about the Plugins-Commits mailing list