summaryrefslogtreecommitdiff
path: root/word-aligner
diff options
context:
space:
mode:
authorChris Dyer <cdyer@allegro.clab.cs.cmu.edu>2013-11-10 01:46:28 -0500
committerChris Dyer <cdyer@allegro.clab.cs.cmu.edu>2013-11-10 01:46:28 -0500
commitf204210aee0748f5183c6f0c853be89266f4a651 (patch)
tree6c44a0fb330344b8b140fd3652c4902e24fde715 /word-aligner
parente974e1dd835bd7995dca720bba1ce0ab09f6fe54 (diff)
fix for c++11
Diffstat (limited to 'word-aligner')
-rw-r--r--word-aligner/fast_align.cc2
-rw-r--r--word-aligner/ttables.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/word-aligner/fast_align.cc b/word-aligner/fast_align.cc
index 589ca62d..f54233eb 100644
--- a/word-aligner/fast_align.cc
+++ b/word-aligner/fast_align.cc
@@ -1,7 +1,7 @@
#include <iostream>
#include <cmath>
#include <utility>
-#ifdef HAVE_CXX11
+#ifndef HAVE_OLD_CPP
# include <unordered_map>
#else
# include <tr1/unordered_map>
diff --git a/word-aligner/ttables.h b/word-aligner/ttables.h
index 1785e064..d82aff72 100644
--- a/word-aligner/ttables.h
+++ b/word-aligner/ttables.h
@@ -2,7 +2,7 @@
#define _TTABLES_H_
#include <iostream>
-#ifdef HAVE_CXX11
+#ifndef HAVE_OLD_CPP
# include <unordered_map>
#else
# include <tr1/unordered_map>