diff options
| -rw-r--r-- | src/citra/citra.cpp | 2 | ||||
| -rw-r--r-- | src/citra/citra.rc | 2 | ||||
| -rw-r--r-- | src/citra_qt/citra-qt.rc | 2 | ||||
| -rw-r--r-- | src/common/bit_set.h | 2 | ||||
| -rw-r--r-- | src/common/logging/text_formatter.cpp | 2 | ||||
| -rw-r--r-- | src/common/string_util.cpp | 2 | ||||
| -rw-r--r-- | src/common/thread.cpp | 2 | ||||
| -rw-r--r-- | src/common/timer.cpp | 3 | ||||
| -rw-r--r-- | src/core/gdbstub/gdbstub.cpp | 3 |
9 files changed, 11 insertions, 9 deletions
diff --git a/src/citra/citra.cpp b/src/citra/citra.cpp index f9387e61c..3114a71db 100644 --- a/src/citra/citra.cpp +++ b/src/citra/citra.cpp | |||
| @@ -18,7 +18,7 @@ | |||
| 18 | #endif | 18 | #endif |
| 19 | 19 | ||
| 20 | #ifdef _WIN32 | 20 | #ifdef _WIN32 |
| 21 | #include <Windows.h> | 21 | #include <windows.h> |
| 22 | #endif | 22 | #endif |
| 23 | 23 | ||
| 24 | #include "citra/config.h" | 24 | #include "citra/config.h" |
diff --git a/src/citra/citra.rc b/src/citra/citra.rc index b0edb2e6b..86ad2c643 100644 --- a/src/citra/citra.rc +++ b/src/citra/citra.rc | |||
| @@ -5,5 +5,5 @@ | |||
| 5 | 5 | ||
| 6 | // Icon with lowest ID value placed first to ensure application icon | 6 | // Icon with lowest ID value placed first to ensure application icon |
| 7 | // remains consistent on all systems. | 7 | // remains consistent on all systems. |
| 8 | GLFW_ICON ICON "..\\..\\dist\\citra.ico" | 8 | GLFW_ICON ICON "../../dist/citra.ico" |
| 9 | 9 | ||
diff --git a/src/citra_qt/citra-qt.rc b/src/citra_qt/citra-qt.rc index 3c7239853..6a61ff811 100644 --- a/src/citra_qt/citra-qt.rc +++ b/src/citra_qt/citra-qt.rc | |||
| @@ -5,5 +5,5 @@ | |||
| 5 | 5 | ||
| 6 | // Icon with lowest ID value placed first to ensure application icon | 6 | // Icon with lowest ID value placed first to ensure application icon |
| 7 | // remains consistent on all systems. | 7 | // remains consistent on all systems. |
| 8 | IDI_ICON1 ICON "..\\..\\dist\\citra.ico" | 8 | IDI_ICON1 ICON "../../dist/citra.ico" |
| 9 | 9 | ||
diff --git a/src/common/bit_set.h b/src/common/bit_set.h index c48b3b769..3059d0cb0 100644 --- a/src/common/bit_set.h +++ b/src/common/bit_set.h | |||
| @@ -16,7 +16,7 @@ namespace Common { | |||
| 16 | 16 | ||
| 17 | // Helper functions: | 17 | // Helper functions: |
| 18 | 18 | ||
| 19 | #ifdef _WIN32 | 19 | #ifdef _MSC_VER |
| 20 | template <typename T> | 20 | template <typename T> |
| 21 | static inline int CountSetBits(T v) { | 21 | static inline int CountSetBits(T v) { |
| 22 | // from https://graphics.stanford.edu/~seander/bithacks.html | 22 | // from https://graphics.stanford.edu/~seander/bithacks.html |
diff --git a/src/common/logging/text_formatter.cpp b/src/common/logging/text_formatter.cpp index d61c1696b..9d423766f 100644 --- a/src/common/logging/text_formatter.cpp +++ b/src/common/logging/text_formatter.cpp | |||
| @@ -7,7 +7,7 @@ | |||
| 7 | 7 | ||
| 8 | #ifdef _WIN32 | 8 | #ifdef _WIN32 |
| 9 | #define WIN32_LEAN_AND_MEAN | 9 | #define WIN32_LEAN_AND_MEAN |
| 10 | #include <Windows.h> | 10 | #include <windows.h> |
| 11 | #endif | 11 | #endif |
| 12 | 12 | ||
| 13 | #include "common/assert.h" | 13 | #include "common/assert.h" |
diff --git a/src/common/string_util.cpp b/src/common/string_util.cpp index df1008180..bad311793 100644 --- a/src/common/string_util.cpp +++ b/src/common/string_util.cpp | |||
| @@ -14,7 +14,7 @@ | |||
| 14 | 14 | ||
| 15 | #ifdef _WIN32 | 15 | #ifdef _WIN32 |
| 16 | #include <codecvt> | 16 | #include <codecvt> |
| 17 | #include <Windows.h> | 17 | #include <windows.h> |
| 18 | #include "common/common_funcs.h" | 18 | #include "common/common_funcs.h" |
| 19 | #else | 19 | #else |
| 20 | #include <iconv.h> | 20 | #include <iconv.h> |
diff --git a/src/common/thread.cpp b/src/common/thread.cpp index 9bb2f4e1d..9e207118f 100644 --- a/src/common/thread.cpp +++ b/src/common/thread.cpp | |||
| @@ -6,7 +6,7 @@ | |||
| 6 | #ifdef __APPLE__ | 6 | #ifdef __APPLE__ |
| 7 | #include <mach/mach.h> | 7 | #include <mach/mach.h> |
| 8 | #elif defined(_WIN32) | 8 | #elif defined(_WIN32) |
| 9 | #include <Windows.h> | 9 | #include <windows.h> |
| 10 | #else | 10 | #else |
| 11 | #if defined(__Bitrig__) || defined(__DragonFly__) || defined(__FreeBSD__) || defined(__OpenBSD__) | 11 | #if defined(__Bitrig__) || defined(__DragonFly__) || defined(__FreeBSD__) || defined(__OpenBSD__) |
| 12 | #include <pthread_np.h> | 12 | #include <pthread_np.h> |
diff --git a/src/common/timer.cpp b/src/common/timer.cpp index e843cbd9c..c9803109e 100644 --- a/src/common/timer.cpp +++ b/src/common/timer.cpp | |||
| @@ -4,7 +4,8 @@ | |||
| 4 | 4 | ||
| 5 | #include <time.h> | 5 | #include <time.h> |
| 6 | #ifdef _WIN32 | 6 | #ifdef _WIN32 |
| 7 | #include <Windows.h> | 7 | #include <windows.h> |
| 8 | // windows.h needs to be included before other windows headers | ||
| 8 | #include <mmsystem.h> | 9 | #include <mmsystem.h> |
| 9 | #include <sys/timeb.h> | 10 | #include <sys/timeb.h> |
| 10 | #else | 11 | #else |
diff --git a/src/core/gdbstub/gdbstub.cpp b/src/core/gdbstub/gdbstub.cpp index aea43e92b..aa849ab4b 100644 --- a/src/core/gdbstub/gdbstub.cpp +++ b/src/core/gdbstub/gdbstub.cpp | |||
| @@ -15,7 +15,8 @@ | |||
| 15 | #include <fcntl.h> | 15 | #include <fcntl.h> |
| 16 | 16 | ||
| 17 | #ifdef _WIN32 | 17 | #ifdef _WIN32 |
| 18 | #include <WinSock2.h> | 18 | #include <winsock2.h> |
| 19 | // winsock2.h needs to be included first to prevent winsock.h being included by other includes | ||
| 19 | #include <common/x64/abi.h> | 20 | #include <common/x64/abi.h> |
| 20 | #include <io.h> | 21 | #include <io.h> |
| 21 | #include <iphlpapi.h> | 22 | #include <iphlpapi.h> |