I guess we can revert this "temporary check" now

On the other side, it has been in the code for only 2 years, so who
knows .-)

Revert "libexttextcat: fix the --with-system case too..."

This reverts commit a81f44c707.

Change-Id: I4e02ebe971f8a838bf2a1630ed38d4408245bf37
This commit is contained in:
David Tardon
2015-06-15 20:00:03 +02:00
parent 5a2010ddb4
commit cc96b2738b

View File

@@ -119,12 +119,7 @@ vector<Guess> SimpleGuesser::GuessLanguage(const char* text)
const char *guess_list = textcat_Classify(h, text, len);
// FIXME just a temporary check until new version with renamed macros deployed
#if EXTTEXTCAT_VERSION_MAJOR > 3 || (EXTTEXTCAT_VERSION_MAJOR == 3 && (EXTTEXTCAT_VERSION_MINOR > 4 || (EXTTEXTCAT_VERSION_MINOR == 4 && (EXTTEXTCAT_VERSION_MICRO >= 1))))
if (strcmp(guess_list, TEXTCAT_RESULT_SHORT_STR) == 0)
#else
if (strcmp(guess_list, _TEXTCAT_RESULT_SHORT) == 0)
#endif
return guesses;
int current_pointer = 0;