Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIN32 not defined on windows cmake msys2 #976

Open
stefanyovev opened this issue Oct 27, 2024 · 2 comments
Open

WIN32 not defined on windows cmake msys2 #976

stefanyovev opened this issue Oct 27, 2024 · 2 comments
Labels
build-cmake CMake build system P2 Priority: High

Comments

@stefanyovev
Copy link

On windows/msys2/cmake WIN32 seems not defined.
I have to -D WIN32 to build using cmake.

@RossBencina
Copy link
Collaborator

WIN32 is indeed used in various cases in the PortAudio code base. Out MSVC project files contain /D WIN32

@RossBencina RossBencina added build-cmake CMake build system P2 Priority: High labels Oct 28, 2024
@benjamin-branchware
Copy link

Isn't a more reliable define _WIN32 (note the underscore)? Both MSVC and Cygwin/MinGW will define this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build-cmake CMake build system P2 Priority: High
Projects
None yet
Development

No branches or pull requests

3 participants