fixed redefinitivon of gettext.h is included more than once
authorConstantin Wenger <constantin.wenger@googlemail.com>
Sat, 30 Jul 2011 09:44:45 +0000 (11:44 +0200)
committerConstantin Wenger <constantin.wenger@googlemail.com>
Sat, 30 Jul 2011 20:08:16 +0000 (22:08 +0200)
src/gettext.h

index 790375165a899e70ecf86e9cfa1cc19daa1d83d8..a42820a15d1a28473d4983da1c67d27277b937cb 100644 (file)
@@ -1,3 +1,4 @@
+#ifndef GETTEXT_HEADER
 #include "config.h" // for USE_GETTEXT
 
 #if USE_GETTEXT
@@ -35,3 +36,5 @@ inline void changeCtype(const char *l)
        else
                std::cout<<"locale has been set to:"<<ret<<std::endl;
 }
+#define GETTEXT_HEADER
+#endif