Kaydet (Commit) cc96b273 authored tarafından David Tardon's avatar David Tardon

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 a81f44c7.

Change-Id: I4e02ebe971f8a838bf2a1630ed38d4408245bf37
üst 5a2010dd
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment