PortAudio / portaudio

PortAudio is a cross-platform, open-source C language library for real-time audio input and output.
Other
1.39k stars 291 forks source link

mingw and max min #865

Closed magicse closed 7 months ago

magicse commented 7 months ago

As far as I'm aware, there is no max or min function in the C or GNU standard libraries. There is fmax/fmin. For correct compiling with MINGW (Windows) could we replace max() and min() with fmax() and fmin() with #include ? I try it by myself and it work good. The min/max problem in C++ and Windows MinGW error: 'min' is not a member of 'std' Undefined reference to min max() or min() functions