fixed redefinitivon of gettext.h is included more than once

This commit is contained in:
Constantin Wenger 2011-07-30 11:44:45 +02:00
parent 37bf9a666a
commit a817419fe4
1 changed files with 3 additions and 0 deletions

View 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