aboutsummaryrefslogtreecommitdiffstats
path: root/devel/monotone/files/patch-sanity.hh
blob: 520a08315cea284f356c5d53ed02d07dfea29099 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- sanity.hh.orig  Wed Jan  7 13:11:48 2004
+++ sanity.hh   Sun Mar 21 22:49:59 2004
@@ -58,7 +58,11 @@
 extern sanity global_sanity;
 
 // F is for when you want to build a boost formatter
+#ifdef ENABLE_NLS
 #define F(str) boost::format(gettext(str))
+#else
+#define F(str) boost::format((str))
+#endif
 
 // L is for logging, you can log all you want
 #define L(fmt) global_sanity.log(fmt)