[wing] build: use lowercase names in includes
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [wing] build: use lowercase names in includes
- Date: Thu, 26 Mar 2020 08:04:57 +0000 (UTC)
commit 79517a0a152b5d9fdcdd98ad047c3d43fd44ebc2
Author: Jakub Janků <jjanku redhat com>
Date: Wed Mar 25 13:29:17 2020 +0100
build: use lowercase names in includes
File-systems on Linux are usually case-sensitive
and mingw uses header names starting with lowercase letters.
Windows is case-insensitive, so no problem with these changes there.
Signed-off-by: Jakub Janků <jjanku redhat com>
tests/poll.c | 2 +-
wing/wingeventwindow.h | 2 +-
wing/wingiocpinputstream.h | 2 +-
wing/wingiocpoutputstream.h | 2 +-
wing/wingnamedpipeclient.c | 2 +-
wing/wingnamedpipeconnection.c | 2 +-
wing/wingservice.c | 4 ++--
wing/wingservicemanager.c | 2 +-
wing/wingutils.c | 2 +-
9 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/tests/poll.c b/tests/poll.c
index 8ed1586..8d60a56 100644
--- a/tests/poll.c
+++ b/tests/poll.c
@@ -16,7 +16,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#include <Winsock2.h>
+#include <winsock2.h>
#include <wing/wing.h>
#include <glib.h>
diff --git a/wing/wingeventwindow.h b/wing/wingeventwindow.h
index 675a8f0..5b09bf6 100644
--- a/wing/wingeventwindow.h
+++ b/wing/wingeventwindow.h
@@ -23,7 +23,7 @@
#include <glib-object.h>
#include <wing/wingversionmacros.h>
-#include <Windows.h>
+#include <windows.h>
G_BEGIN_DECLS
diff --git a/wing/wingiocpinputstream.h b/wing/wingiocpinputstream.h
index a65ac18..aa7aca4 100644
--- a/wing/wingiocpinputstream.h
+++ b/wing/wingiocpinputstream.h
@@ -26,7 +26,7 @@
#include <gio/gio.h>
#include <wing/wingversionmacros.h>
-#include <Windows.h>
+#include <windows.h>
G_BEGIN_DECLS
diff --git a/wing/wingiocpoutputstream.h b/wing/wingiocpoutputstream.h
index d316352..d4af7f3 100644
--- a/wing/wingiocpoutputstream.h
+++ b/wing/wingiocpoutputstream.h
@@ -26,7 +26,7 @@
#include <gio/gio.h>
#include <wing/wingversionmacros.h>
-#include <Windows.h>
+#include <windows.h>
G_BEGIN_DECLS
diff --git a/wing/wingnamedpipeclient.c b/wing/wingnamedpipeclient.c
index 3150abe..f568309 100644
--- a/wing/wingnamedpipeclient.c
+++ b/wing/wingnamedpipeclient.c
@@ -19,7 +19,7 @@
#include "wingnamedpipeclient.h"
#include "wingnamedpipeconnection.h"
-#include <Windows.h>
+#include <windows.h>
/**
* SECTION:wingnamedpipeclient
diff --git a/wing/wingnamedpipeconnection.c b/wing/wingnamedpipeconnection.c
index 9dedac9..f8dc2d4 100644
--- a/wing/wingnamedpipeconnection.c
+++ b/wing/wingnamedpipeconnection.c
@@ -28,7 +28,7 @@
#include <gio/gio.h>
#include <windows.h>
-#include <Sddl.h>
+#include <sddl.h>
/**
* SECTION:wingnamedpipeconnection
diff --git a/wing/wingservice.c b/wing/wingservice.c
index bcc389c..3288867 100644
--- a/wing/wingservice.c
+++ b/wing/wingservice.c
@@ -19,8 +19,8 @@
#include "wingservice-private.h"
#include "wingservicemanager.h"
-#include <Windows.h>
-#include <Winuser.h>
+#include <windows.h>
+#include <winuser.h>
#include <dbt.h>
#define WING_SERVICE_STARTUP 256
diff --git a/wing/wingservicemanager.c b/wing/wingservicemanager.c
index 8d0e9a7..abd00bf 100644
--- a/wing/wingservicemanager.c
+++ b/wing/wingservicemanager.c
@@ -19,7 +19,7 @@
#include "wingservice-private.h"
#include <gio/gio.h>
-#include <Windows.h>
+#include <windows.h>
#define STOP_SERVICE_NUMBERS_OF_CHECKS_PER_SEC 10
diff --git a/wing/wingutils.c b/wing/wingutils.c
index bbe1d75..974f118 100644
--- a/wing/wingutils.c
+++ b/wing/wingutils.c
@@ -18,7 +18,7 @@
#include "wingutils.h"
#include <windows.h>
-#include <Psapi.h>
+#include <psapi.h>
gboolean
wing_is_wow_64 (void)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]