summaryrefslogtreecommitdiff
path: root/lib/setup-win32.h
Commit message (Collapse)AuthorAgeFilesLines
* copyright: update all copyright lines and remove year rangesDaniel Stenberg2023-01-031-1/+1
| | | | | | | | | | | | - they are mostly pointless in all major jurisdictions - many big corporations and projects already don't use them - saves us from pointless churn - git keeps history for us - the year range is kept in COPYING checksrc is updated to allow non-year using copyright statements Closes #10205
* setup-win32: no longer define UNICODE/_UNICODE implicitlyJay Satiro2022-09-071-2/+2
| | | | | | | | | | | | | | | | - If UNICODE or _UNICODE is defined but the other isn't then error instead of implicitly defining it. As Marcel pointed out it is too late at this point to make such a define because Windows headers may already be included, so likely it never worked. We never noticed because build systems that can make Windows Unicode builds always define both. If one is defined but not the other then something went wrong during the build configuration. Bug: https://github.com/curl/curl/pull/9375#discussion_r956545272 Reported-by: Marcel Raad Closes https://github.com/curl/curl/pull/9384
* lib: add required Win32 setup definitions in setup-win32.hMarc Hoersken2022-09-061-0/+11
| | | | | | | | Assisted-by: Jay Satiro Reviewed-by: Marcel Raad Follow up to #9312 Closes #9375
* copyright: make repository REUSE compliantmax.mehl2022-06-131-1/+3
| | | | | | | | | | | Add licensing and copyright information for all files in this repository. This either happens in the file itself as a comment header or in the file `.reuse/dep5`. This commit also adds a Github workflow to check pull requests and adapts copyright.pl to the changes. Closes #8869
* misc: update copyright yearsDaniel Stenberg2021-10-151-1/+1
|
* lib: remove `HAVE_WINSOCK_H` usageMarcel Raad2021-09-291-10/+2
| | | | | | | WinSock v1 is not supported anymore. Exclusively use `HAVE_WINSOCK2_H` instead. Closes https://github.com/curl/curl/pull/7795
* Revert "build: remove checks for WinSock 1"Daniel Stenberg2021-09-291-2/+10
| | | | | | | | Due to CI issues This reverts commit c2ea04f92b00b6271627cb218647527b5a50f2fc. Closes #7790
* build: remove checks for WinSock 1Marcel Raad2021-09-281-10/+2
| | | | | | It's not supported anymore. Closes https://github.com/curl/curl/pull/7778
* curl.se: new homeDaniel Stenberg2020-11-041-1/+1
| | | | Closes #6172
* win32: drop support for WinSock version 1, require version 2Marc Hoersken2020-09-021-2/+1
| | | | | | | | | | | | | | | IPv6, telnet and now also the multi API require WinSock version 2 which is available starting with Windows 95. Therefore we think it is time to drop support for version 1. Reviewed-by: Marcel Raad Reviewed-by: Jay Satiro Reviewed-by: Daniel Stenberg Reviewed-by: Viktor Szakats Follow up to #5634 Closes #5854
* curl_setup: define _WIN32_WINNT_[OS] symbolsJay Satiro2020-03-211-0/+123
.. because not all Windows build systems have those symbols, and even those that do may be missing newer symbols (eg the Windows 7 SDK does not define _WIN32_WINNT_WIN10). Those symbols are used in build-time logic to decide which API to use and prior to this change if the symbols were missing it would have resulted in deprecated API being used when more recent functions were available (eg GetVersionEx used instead of VerifyVersionInfo). Reported-by: FuccDucc@users.noreply.github.com Probably fixes https://github.com/curl/curl/issues/4995 Closes https://github.com/curl/curl/pull/5057