mirror of https://github.com/odrling/Aegisub
Fix mutex.h so we can actually use it.
Originally committed to SVN as r5309.
This commit is contained in:
parent
3d460ca31f
commit
2edbc8c8c1
|
@ -102,7 +102,7 @@
|
||||||
#ifndef GOOGLE_MUTEX_H_
|
#ifndef GOOGLE_MUTEX_H_
|
||||||
#define GOOGLE_MUTEX_H_
|
#define GOOGLE_MUTEX_H_
|
||||||
|
|
||||||
#include "../../config.h" // to figure out pthreads support
|
#include "acconf.h" // to figure out pthreads support
|
||||||
|
|
||||||
#if defined(NO_THREADS)
|
#if defined(NO_THREADS)
|
||||||
typedef int MutexType; // to keep a lock-count
|
typedef int MutexType; // to keep a lock-count
|
||||||
|
@ -146,7 +146,7 @@
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <stdlib.h> // for abort()
|
#include <stdlib.h> // for abort()
|
||||||
|
|
||||||
#define MUTEX_NAMESPACE glog_internal_namespace_
|
#define MUTEX_NAMESPACE agi
|
||||||
|
|
||||||
namespace MUTEX_NAMESPACE {
|
namespace MUTEX_NAMESPACE {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue