Fixed #4855 (GUI: The checking of the file will be interrupted because there are too many #ifdef configurations.)