Skip to content

Commit

Permalink
VC++ 2015 / GCC 5 now required
Browse files Browse the repository at this point in the history
  • Loading branch information
alabuzhev committed Mar 18, 2016
1 parent 95a941f commit c8a8d76
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
6 changes: 5 additions & 1 deletion far/changelog
@@ -1,4 +1,8 @@
drkns 18.03.2016 12:00:11 +0200 - build 4583
drkns 18.03.2016 18:03:45 +0200

1. Для сборки требуются VC++ 2015 / GCC 5.

drkns 18.03.2016 12:00:11 +0200 - build 4583

1. Продолжение 4582 - сортируем без расширения структуры FileListItem, которая и без того жирная.
Кроме того, возможно, будет немного быстрее.
Expand Down
16 changes: 8 additions & 8 deletions far/headers.hpp
Expand Up @@ -75,21 +75,21 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#undef _W32API_OLD

#ifdef _MSC_VER
# if _MSC_VER < 1600
# error Visual C++ 2010 (or higher) required
# if _MSC_VER < 1900
# error Visual C++ 2015 (or higher) required
# endif
# include <sdkddkver.h>
# if _WIN32_WINNT < 0x0601
# error Windows SDK v7.0 (or higher) required
# if _WIN32_WINNT < 0x0603
# error Windows SDK v8.1 (or higher) required
# endif
#endif //_MSC_VER

#ifdef __GNUC__
# define GCC_VER_(gcc_major,gcc_minor,gcc_patch) (100*(gcc_major) + 10*(gcc_minor) + (gcc_patch))
# define _GCC_VER GCC_VER_(__GNUC__, __GNUC_MINOR__, __GNUC_PATCHLEVEL__)

# if _GCC_VER < GCC_VER_(4,9,0)
# error gcc 4.9.0 (or higher) required
# if _GCC_VER < GCC_VER_(5,0,0)
# error gcc 5.0.0 (or higher) required
# endif

# include <w32api.h>
Expand All @@ -103,8 +103,8 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# undef WINVER
# undef _WIN32_WINNT
# undef _WIN32_IE
# define WINVER 0x0601
# define _WIN32_WINNT 0x0601
# define WINVER 0x0603
# define _WIN32_WINNT 0x0603
# define _WIN32_IE 0x0700
#endif // __GNUC__

Expand Down

0 comments on commit c8a8d76

Please sign in to comment.