rpcsx/rpcs3/stdafx.h

60 lines
1.2 KiB
C
Raw Normal View History

#pragma once
#ifdef MSVC_CRT_MEMLEAK_DETECTION
#define _CRTDBG_MAP_ALLOC
#include <stdlib.h>
#include <crtdbg.h>
#endif
#define NOMINMAX
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__ )
#include "define_new_memleakdetect.h"
2014-07-10 22:54:12 +02:00
#endif
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>
2014-09-16 15:56:27 +02:00
#include <array>
2014-08-28 18:29:05 +02:00
#include <string>
#include <ostream>
#include <sstream>
#include <functional>
#include <algorithm>
#include <random>
2014-11-04 20:31:20 +01:00
#include <unordered_set>
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"
typedef unsigned int uint;
2013-11-19 11:30:58 +01:00
typedef uint8_t u8;
typedef uint16_t u16;
typedef uint32_t u32;
typedef uint64_t u64;
2013-11-19 11:30:58 +01:00
typedef int8_t s8;
typedef int16_t s16;
typedef int32_t s32;
typedef int64_t s64;
2014-08-22 23:15:02 +02:00
#define AlignAddr(addr, align) (((addr) + ((align) - 1)) & ~((align) - 1))
#include "Utilities/StrFmt.h"
#include "Utilities/BEType.h"
#define _PRGNAME_ "RPCS3"
#define _PRGVER_ "0.0.0.5"