mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-19 06:53:36 +08:00
move #ifdef USE_NLS outside of #ifdef HAVE_CONFIG_H; thanks to Zdenko for pointing this out.
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@431 d0cd1f9f-072b-0410-8dd7-cf729c803f20
This commit is contained in:
parent
b3c1e2e5b0
commit
c2fd3fa154
@ -29,6 +29,10 @@
|
||||
*/
|
||||
#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>
|
||||
@ -36,10 +40,6 @@
|
||||
#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"
|
||||
|
Loading…
Reference in New Issue
Block a user