File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 11#ifndef AUTOCONFIG_H
22#define AUTOCONFIG_H
33
4- // Windows 10 (0x0A00) is the baseline version for Firebird 6
5- #define FB_WIN32_WINNT_BASELINE 0x0A00
4+ // Windows 7 (0x0601) is the baseline version for Firebird 6.
5+ // NOTE: This does not mean that this version is supported, but that we want to limit Windows API
6+ // use to this version.
7+ #define FB_WIN32_WINNT_BASELINE 0x0601
68
79#ifndef _WIN32_WINNT
8- // By default set _WIN32_WINNT to the baseline, but allows overriding (maybe for fbclient?)
10+ // Set _WIN32_WINNT to the baseline, but allow overriding
911#define _WIN32_WINNT FB_WIN32_WINNT_BASELINE
10- #elif (_WIN32_WINNT < 0x0601 )
11- // Consider Windows versions before Windows 7 (0x0601) really too old. This does not mean that
12- // compilation for versions before Windows 10 will succeed (probably it will work for fbclient).
12+ #elif (_WIN32_WINNT < FB_WIN32_WINNT_BASELINE )
13+ // Consider Windows versions before the baseline really too old.
1314#error The target Windows version (_WIN32_WINNT) is too old
1415#endif
1516
You can’t perform that action at this time.
0 commit comments