git-svn-id: https://profuse.googlecode.com/svn/branches/v2@393 aa027e90-d47c-11dd-86d7-074df07e0730
This commit is contained in:
parent
1fe6327ab1
commit
82ecf63db6
|
@ -1,9 +0,0 @@
|
|||
CC = g++
|
||||
CPPFLAGS += -g -Wall -I../
|
||||
|
||||
|
||||
all : Exception.o Lock.o
|
||||
|
||||
Exception.o : Exception.cpp Exception.h
|
||||
|
||||
Lock.o : Lock.cpp Lock.h
|
|
@ -0,0 +1,14 @@
|
|||
#ifndef __COMMON_UNORDERED_MAP_H__
|
||||
#define __COMMON_UNORDERED_MAP_H__
|
||||
|
||||
#ifdef CPP0X
|
||||
//c++0x
|
||||
#include <unordered_map>
|
||||
#define UNORDERED_MAP(...) std::unordered_map(__VA_ARGS__)
|
||||
#else
|
||||
// tr1
|
||||
#include <tr1/unordered_map>
|
||||
#define UNORDERED_MAP(...) std::tr1::unordered_map(__VA_ARGS__)
|
||||
#endif
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue