Skip to content

Commit

Permalink
Merge pull request #38 from jpcima/includes
Browse files Browse the repository at this point in the history
arrange header inclusions for MinGW, making them lower case
  • Loading branch information
scheffle authored Nov 8, 2017
2 parents 072bb07 + 4b06877 commit af2f951
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 14 deletions.
3 changes: 2 additions & 1 deletion vstgui/lib/platform/win32/win32dragcontainer.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#if WINDOWS

#include <windows.h>
#include <objidl.h>
#include <vector>
#include <string>

Expand Down Expand Up @@ -44,4 +45,4 @@ class WinDragContainer : public IDataPackage

#endif // WINDOWS

#endif // __win32dragcontainer__
#endif // __win32dragcontainer__
2 changes: 1 addition & 1 deletion vstgui/lib/platform/win32/win32support.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ using std::min;
using std::max;
#include <windows.h>
#if defined (WINAPI_FAMILY_SYSTEM)
#include <VersionHelpers.h>
#include <versionhelpers.h>
#endif

#include <objidl.h>
Expand Down
2 changes: 1 addition & 1 deletion vstgui/plugin-bindings/plugguieditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#define kIdleRateMin 4 // minimum time between 2 idles in ms

#if WINDOWS
#include <Windows.h>
#include <windows.h>
#endif

#if MAC
Expand Down
4 changes: 2 additions & 2 deletions vstgui/standalone/source/platform/win32/win32application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
#include "win32preference.h"
#include "win32window.h"
#include "win32commondirectories.h"
#include <ShellScalingAPI.h>
#include <Windows.h>
#include <shellscalingapi.h>
#include <windows.h>
#include <array>
#include <chrono>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "../../../../lib/platform/win32/win32support.h"
#include "../../../include/iappdelegate.h"
#include "../../../include/iapplication.h"
#include <Shlobj.h>
#include <shlobj.h>
#include <array>

//------------------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions vstgui/standalone/source/platform/win32/win32menu.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#pragma once

#include "../../../../lib/cstring.h"
#include <Windows.h>
#include <windows.h>
#include <functional>
#include <vector>
#include <memory>
Expand Down Expand Up @@ -75,4 +75,4 @@ struct Win32Menu : Win32MenuItem
//------------------------------------------------------------------------
} // Platform
} // Standalone
} // VSTGUI
} // VSTGUI
8 changes: 4 additions & 4 deletions vstgui/standalone/source/platform/win32/win32window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
#include "../../../include/iapplication.h"
#include "../../application.h"
#include "../iplatformwindow.h"
#include <Dwmapi.h>
#include <ShellScalingAPI.h>
#include <VersionHelpers.h>
#include <Windows.h>
#include <dwmapi.h>
#include <shellscalingapi.h>
#include <versionhelpers.h>
#include <windows.h>
#include <d2d1.h>
#include <windowsx.h>

Expand Down
2 changes: 1 addition & 1 deletion vstgui/tests/unittest/lib/platform_helper_win32.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#include "platform_helper.h"
#include "../../../lib/platform/win32/win32support.h"
#include <Windows.h>
#include <windows.h>

namespace VSTGUI {
namespace UnitTest {
Expand Down
3 changes: 2 additions & 1 deletion vstgui/tests/unittest/unittests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include <Windows.h>
#include <windows.h>
#include <objbase.h>
#endif

namespace VSTGUI {
Expand Down

0 comments on commit af2f951

Please sign in to comment.