]> git.lyx.org Git - features.git/commitdiff
guard with ENABLE_NLS
authorLars Gullik Bjønnes <larsbj@gullik.org>
Thu, 12 Oct 2000 02:17:32 +0000 (02:17 +0000)
committerLars Gullik Bjønnes <larsbj@gullik.org>
Thu, 12 Oct 2000 02:17:32 +0000 (02:17 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1105 a592a061-630c-0410-9148-cb99ea01b6c8

src/gettext.C

index 1bed23dce01f1873db42d1911578456e0fbd123f..9d17c623c5e9ed392b07c3212d29a557c4a08582 100644 (file)
@@ -3,6 +3,7 @@
 #include "LString.h"
 #include "gettext.h"
 
+#ifdef ENABLE_NLS
 
 char const * _(char const * str)
 {
@@ -20,3 +21,5 @@ string const _(string const & str)
        delete [] tmp;
        return ret;
 }
+
+#endif