r5sdk/r5dev/common/sdkdefs.h
Kawe Mazidjatari dd48093c23 Add experimental switch header
This header allows us to properly switch between experimental/finished STD implementations without having to adjust the source code (required for compiling on older versions of the Visual Studio 2017 compiler).
2023-03-20 00:17:29 +01:00

27 lines
550 B
C++

#ifndef SDKDEFS_H
#define SDKDEFS_H
// Common type declarations to reduce code verbosity.
using std::pair;
using std::regex;
using std::string;
using std::wstring;
using std::u16string;
using std::u32string;
using std::vector;
using std::fstream;
using std::ifstream;
using std::ofstream;
using std::stringstream;
using std::ostringstream;
using std::unordered_map;
typedef DWORD ThreadId_t;
typedef uintptr_t uintp;
typedef intptr_t intp;
typedef const unsigned char* rsig_t;
typedef std::make_signed_t<std::size_t> ssize_t;
#endif // SDKDEFS_H