diff --git a/Common/3dParty/hunspell/test/test.pro b/Common/3dParty/hunspell/test/test.pro index 2bf6cfb02a..28b36d0dec 100644 --- a/Common/3dParty/hunspell/test/test.pro +++ b/Common/3dParty/hunspell/test/test.pro @@ -27,14 +27,17 @@ include($$CORE_ROOT_DIR/Common/3dParty/hunspell/qt/hunspell.pri) # also increase, so it is good to increase the global limit. this works the same for the candidate limit with suggest limit DEFINES += CUSTOM_TIMELIMITS +escape_bracket= +!core_windows:escape_bracket=\\ + # total time limit per word for all cases. (default is CLOCKS_PER_SEC/4) -DEFINES += "CUSTOM_TIMELIMIT_GLOBAL=\\\(20*CLOCKS_PER_SEC\\\)" +DEFINES += "CUSTOM_TIMELIMIT_GLOBAL=$${escape_bracket}(20*CLOCKS_PER_SEC$${escape_bracket})" # total time limit per "1 case" - forgotten char, double char, moved char and so on for all candidates. (default is CLOCKS_PER_SEC/10) -DEFINES += "CUSTOM_TIMELIMIT_SUGGESTION=\\\(5*CLOCKS_PER_SEC\\\)" +DEFINES += "CUSTOM_TIMELIMIT_SUGGESTION=$${escape_bracket}(5*CLOCKS_PER_SEC$${escape_bracket})" # time limit per candidate (default is CLOCKS_PER_SEC/20) -DEFINES += "CUSTOM_TIMELIMIT=\\\(CLOCKS_PER_SEC\\\)" +DEFINES += "CUSTOM_TIMELIMIT=$${escape_bracket}(CLOCKS_PER_SEC$${escape_bracket}\)" ADD_DEPENDENCY(UnicodeConverter kernel)