Skip to content

Commit

Permalink
move #ifdef USE_NLS outside of #ifdef HAVE_CONFIG_H; thanks to Zdenko…
Browse files Browse the repository at this point in the history
… for pointing this out.

git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@431 d0cd1f9f-072b-0410-8dd7-cf729c803f20
  • Loading branch information
joregan committed Jul 21, 2010
1 parent b3c1e2e commit c2fd3fa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions image/imgtiff.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,17 @@
*/
#ifdef HAVE_CONFIG_H
#include "config_auto.h"
#if defined(MOTOROLA_BYTE_ORDER) || defined(WORDS_BIGENDIAN)
#define __MOTO__ // Big-endian.
#endif
#endif
#ifdef USE_NLS
#include <libintl.h>
#include <locale.h>
#define _(x) gettext(x)
#else
#define _(x) (x)
#endif
#if defined(MOTOROLA_BYTE_ORDER) || defined(WORDS_BIGENDIAN)
#define __MOTO__ // Big-endian.
#endif
#endif

#include "fileerr.h"
#include "imgerrs.h"
Expand Down

0 comments on commit c2fd3fa

Please sign in to comment.