Fix mutex.h so we can actually use it.

Originally committed to SVN as r5309.
This commit is contained in:
Amar Takhar 2011-02-06 19:50:59 +00:00
parent 3d460ca31f
commit 2edbc8c8c1

View file

@ -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 {