History

configure: Set WIN32_LEAN_AND_MEAN at configure time

Including winsock2.h or windows.h without WIN32_LEAN_AND_MEAN cause bzlib.h to parse as nonsense, due to an instance of #define char small in rpcndr.h. See: https://stackoverflow.com/a/27794577

L. E. Segovia committed 3 years ago

Commit ddc1cd51 parent c7049019 files · +5 −11Browse files

Showing the changes to libavfilter (1 of 9 files). Show all

Unified · Split

libavfilter/vsrc_ddagrab.c+0−1
@@ -22,7 +22,6 @@ · 21 unmodified lines
2222 #undef _WIN32_WINNT
2323 #define _WIN32_WINNT 0x0A00
2424 #endif
25−#define WIN32_LEAN_AND_MEAN
2625
2726 #include <windows.h>
2827

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t