mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-01-01 04:35:59 +00:00
Merge pull request #768 from squidbus/warning-fix
misc: Fix a few compiler warnings.
This commit is contained in:
commit
ba0c1df545
|
@ -10,8 +10,12 @@ class SymbolsResolver;
|
|||
}
|
||||
|
||||
// Define our own htonll and ntohll because its not available in some systems/platforms
|
||||
#ifndef HTONLL
|
||||
#define HTONLL(x) (((uint64_t)htonl((x) & 0xFFFFFFFFUL)) << 32) | htonl((uint32_t)((x) >> 32))
|
||||
#endif
|
||||
#ifndef NTOHLL
|
||||
#define NTOHLL(x) (((uint64_t)ntohl((x) & 0xFFFFFFFFUL)) << 32) | ntohl((uint32_t)((x) >> 32))
|
||||
#endif
|
||||
|
||||
namespace Libraries::Net {
|
||||
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#define VULKAN_HPP_DISPATCH_LOADER_DYNAMIC 1
|
||||
#define VULKAN_HPP_NO_CONSTRUCTORS
|
||||
#define VULKAN_HPP_NO_STRUCT_SETTERS
|
||||
#define VULKAN_HPP_HAS_SPACESHIP_OPERATOR
|
||||
#include <vulkan/vulkan.hpp>
|
||||
|
||||
#define VMA_STATIC_VULKAN_FUNCTIONS 0
|
||||
|
|
Loading…
Reference in a new issue