Commit Graph

6 Commits

Author SHA1 Message Date
Michal Suchanek 81bbb5e67b Define WIN32_LEAN_AND_MEAN globally
In modern Windows code WIN32_LEAN_AND_MEAN should be defined.

Without this define windows.h pulls in some legacy headers, notably
winsocks.h. Modern code that cares about winsocks includes winsocks2.h
which conflicts with winsocks.h. Other code that does not care about
winsocks (OpenGL, fontconfig, ...) includes windows.h pulling in legacy
winsocks.h, causing definition conflicts and build errors.

At worst defining WIN32_LEAN_AND_MEAN requires explicitly including some
additional headers on Windows.
2025-05-11 15:50:10 +00:00
Michal Suchanek ca54db2db4 windows: Fix build on case sensitive filesystem 2025-05-11 15:50:10 +00:00
jean-pierre charras 8a5b71a01b Print dlgs: add panel printer to select the current printer. Windows only
Other platforms show the available printers in print dialog.
2025-02-20 17:04:47 +01:00
jean-pierre charras 69c6412b43 Revert "fix commit 4ef2853a on non Windows platforms"
This reverts commit e587e5029c.

Revert "Print dlgs: add panel printer to select the current printer. Windows only"

This reverts commit 4ef2853ae5.
2025-02-06 14:27:30 +01:00
jean-pierre charras e587e5029c fix commit 4ef2853a on non Windows platforms 2025-02-06 13:33:06 +01:00
jean-pierre charras 4ef2853ae5 Print dlgs: add panel printer to select the current printer. Windows only
Other platforms natively show the available printers.
2025-02-06 12:29:18 +01:00