[geany/geany] bd811b: Change include order on Windows
Enrico Tröger
git-noreply at xxxxx
Sun Apr 6 19:52:17 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: Sun, 06 Apr 2014 19:52:17 UTC
Commit: bd811b96cad7f700a97e30eb0ede279dad55c8c2
https://github.com/geany/geany/commit/bd811b96cad7f700a97e30eb0ede279dad55c8c2
Log Message:
-----------
Change include order on Windows
As suggested by a preprocessor warning from winsock2.h
(i686-w64-mingw32/include/winsock2.h:15:2: warning: #warning Please
include winsock2.h before windows.h).
Modified Paths:
--------------
src/socket.c
Modified: src/socket.c
4 files changed, 2 insertions(+), 2 deletions(-)
===================================================================
@@ -64,9 +64,9 @@
# include <netinet/in.h>
# include <glib/gstdio.h>
#else
-# include <gdk/gdkwin32.h>
-# include <windows.h>
# include <winsock2.h>
+# include <windows.h>
+# include <gdk/gdkwin32.h>
# include <ws2tcpip.h>
#endif
#include <string.h>
--------------
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