Skip to content

Commit

Permalink
wasapi: Avoid redefining _WIN32_WINNT and NOMINMAX.
Browse files Browse the repository at this point in the history
  • Loading branch information
IRainman authored and kinetiknz committed Feb 12, 2025
1 parent 20154a3 commit 3cbfc9e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/cubeb_wasapi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@
* This program is made available under an ISC-style license. See the
* accompanying file LICENSE for details.
*/
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0603
#endif // !_WIN32_WINNT
#ifndef NOMINMAX
#define NOMINMAX
#endif // !NOMINMAX

#include <algorithm>
#include <atomic>
Expand Down

0 comments on commit 3cbfc9e

Please sign in to comment.