mirror of https://github.com/PCSX2/pcsx2.git
gsdx linux:
* use memory instead of tr1 (was the experimental implementation of c++11) * remove strict aliasing optimization because I saw some bad warnings * Fix pthread of the previous commit. Use default attribute but it might need some tuning git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5020 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
25072b99c7
commit
ba14c557ed
|
@ -16,6 +16,8 @@ set(CommonFlags
|
|||
-mfpmath=sse
|
||||
#-Wstrict-aliasing # Allow to track strict aliasing issue.
|
||||
-Wunused-variable
|
||||
-std=c++0x
|
||||
-fno-strict-aliasing
|
||||
)
|
||||
|
||||
set(OptimizationFlags
|
||||
|
|
|
@ -189,7 +189,7 @@ class GSCondVar
|
|||
pthread_cond_t m_cv;
|
||||
|
||||
public:
|
||||
GSCondVar() {pthread_cond_init(&m_cv);}
|
||||
GSCondVar() {pthread_cond_init(&m_cv, NULL);}
|
||||
virtual ~GSCondVar() {pthread_cond_destroy(&m_cv);}
|
||||
|
||||
void Set() {pthread_cond_signal(&m_cv);}
|
||||
|
|
|
@ -113,9 +113,7 @@ using namespace std;
|
|||
|
||||
#ifdef __GNUC__
|
||||
|
||||
#include <tr1/memory>
|
||||
|
||||
using namespace std::tr1;
|
||||
#include <memory>
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue