mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-08 02:25:56 +00:00
createtest fixes and compile fixes for linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3482 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
ff83f9eb71
commit
697ce7b1ab
11 changed files with 59 additions and 58 deletions
|
@ -92,8 +92,6 @@ namespace
|
|||
#ifndef _SECURE_SCL
|
||||
#error Please define _SECURE_SCL=0 in the project settings
|
||||
#else
|
||||
template <bool> struct CompileTimeAssert;
|
||||
template<> struct CompileTimeAssert<true> {};
|
||||
CompileTimeAssert<_SECURE_SCL==0> x;
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -24,6 +24,9 @@
|
|||
#define SLEEP(x) usleep(x*1000)
|
||||
#endif
|
||||
|
||||
template <bool> struct CompileTimeAssert;
|
||||
template<> struct CompileTimeAssert<true> {};
|
||||
|
||||
#ifndef _WIN32
|
||||
|
||||
#if defined __APPLE__
|
||||
|
|
|
@ -20,8 +20,9 @@
|
|||
|
||||
#include "Common.h"
|
||||
#include <string>
|
||||
#ifdef _WIN32
|
||||
#include <mmsystem.h>
|
||||
|
||||
#endif
|
||||
namespace Common
|
||||
{
|
||||
class Timer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue