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 1
1
#ifndef AUTOCONFIG_H
2
2
#define AUTOCONFIG_H
3
3
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
6
8
7
9
#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
9
11
#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.
13
14
#error The target Windows version (_WIN32_WINNT) is too old
14
15
#endif
15
16
You can’t perform that action at this time.
0 commit comments