2012-11-15 00:39:56 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
2014-04-15 16:12:15 +02:00
|
|
|
#ifdef MSVC_CRT_MEMLEAK_DETECTION
|
|
|
|
|
#define _CRTDBG_MAP_ALLOC
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
#include <crtdbg.h>
|
|
|
|
|
#endif
|
|
|
|
|
|
2014-05-02 08:30:32 +02:00
|
|
|
#define NOMINMAX
|
2012-11-15 00:39:56 +01:00
|
|
|
|
2014-07-10 22:54:12 +02:00
|
|
|
#if defined(MSVC_CRT_MEMLEAK_DETECTION) && defined(_DEBUG) && !defined(DBG_NEW)
|
|
|
|
|
#define DBG_NEW new ( _NORMAL_BLOCK , __FILE__ , __LINE__ )
|
|
|
|
|
#define new DBG_NEW
|
|
|
|
|
#endif
|
2014-04-15 16:12:15 +02:00
|
|
|
|
2014-07-08 18:26:31 +02:00
|
|
|
// This header should be frontend-agnostic, so don't assume wx includes everything
|
|
|
|
|
#include <cstdio>
|
|
|
|
|
#include <cstring>
|
|
|
|
|
#include <cassert>
|
2013-11-19 11:30:58 +01:00
|
|
|
#include <cstdint>
|
2014-08-28 18:29:05 +02:00
|
|
|
#include <cmath>
|
|
|
|
|
#include <atomic>
|
|
|
|
|
#include <mutex>
|
|
|
|
|
#include <thread>
|
|
|
|
|
#include <condition_variable>
|
|
|
|
|
#include <memory>
|
|
|
|
|
#include <vector>
|
|
|
|
|
#include <set>
|
|
|
|
|
#include <string>
|
|
|
|
|
#include <ostream>
|
|
|
|
|
#include <sstream>
|
|
|
|
|
#include <functional>
|
|
|
|
|
#include <algorithm>
|
2013-11-19 11:30:58 +01:00
|
|
|
|
2014-08-29 14:27:25 +02:00
|
|
|
#include <sys/stat.h>
|
2014-08-22 23:31:39 +02:00
|
|
|
#include "Utilities/GNU.h"
|
|
|
|
|
|
2013-06-30 10:46:29 +02:00
|
|
|
typedef unsigned int uint;
|
2012-11-15 00:39:56 +01:00
|
|
|
|
2013-11-19 11:30:58 +01:00
|
|
|
typedef uint8_t u8;
|
|
|
|
|
typedef uint16_t u16;
|
|
|
|
|
typedef uint32_t u32;
|
|
|
|
|
typedef uint64_t u64;
|
2012-11-15 00:39:56 +01:00
|
|
|
|
2013-11-19 11:30:58 +01:00
|
|
|
typedef int8_t s8;
|
|
|
|
|
typedef int16_t s16;
|
|
|
|
|
typedef int32_t s32;
|
|
|
|
|
typedef int64_t s64;
|
2012-11-15 00:39:56 +01:00
|
|
|
|
2014-08-22 23:15:02 +02:00
|
|
|
#define AlignAddr(addr, align) (((addr) + ((align) - 1)) & ~((align) - 1))
|
|
|
|
|
|
2014-06-17 17:44:03 +02:00
|
|
|
#include "Utilities/StrFmt.h"
|
2013-10-06 14:07:42 +02:00
|
|
|
#include "Utilities/BEType.h"
|
2012-11-15 00:39:56 +01:00
|
|
|
|
|
|
|
|
#define _PRGNAME_ "RPCS3"
|
2014-07-24 02:54:08 +02:00
|
|
|
#define _PRGVER_ "0.0.0.5"
|