mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-16 08:56:40 -05:00
win32: define WIN32_LEAN_AND_MEAN
This makes windows.h include less headers. Otherwise boolean is typedef'ed and that clashes with libjson.
This commit is contained in:
parent
6fd2ef48dd
commit
fc0eebf2c4
2 changed files with 4 additions and 0 deletions
|
|
@ -91,6 +91,9 @@ case $host in
|
|||
*-*-darwin* )
|
||||
AC_DEFINE([_DARWIN_C_SOURCE], [200112L], [Needed to get NSIG on Mac OS X])
|
||||
;;
|
||||
*-*-mingw* )
|
||||
AC_DEFINE([WIN32_LEAN_AND_MEAN], 1, [Needed to avoid including unnecessary headers])
|
||||
;;
|
||||
esac
|
||||
|
||||
# M4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue