Define _X86_ so univeralchardet builds properly, this eventually needs to be fixed to use the autodetection code already in configure.in

Originally committed to SVN as r4486.
This commit is contained in:
Amar Takhar 2010-06-12 07:04:46 +00:00
parent cbdb906da0
commit 60b9e5dee6
2 changed files with 6 additions and 0 deletions

View File

@ -19,6 +19,9 @@
/// @ingroup libaegisub
#ifndef LAGI_PRE
#ifndef _WIN32
#define _X86_ 1
#endif
#include "../../universalchardet/nscore.h"
#include "../../universalchardet/nsUniversalDetector.h"
#include "../../universalchardet/nsMBCSGroupProber.h"

View File

@ -41,6 +41,9 @@
#include "libaegisub/cajun/writer.h"
// Universalchardet
#ifndef _WIN32
#define _X86_ 1
#endif
#include "../universalchardet/nscore.h"
#include "../universalchardet/nsUniversalDetector.h"
#include "../universalchardet/nsMBCSGroupProber.h"