summaryrefslogtreecommitdiff
path: root/README.git
diff options
context:
space:
mode:
authorChris Dickens <christopher.a.dickens@gmail.com>2020-04-09 11:46:03 -0700
committerChris Dickens <christopher.a.dickens@gmail.com>2020-04-09 11:46:03 -0700
commit6f0330c78467bb9b5154ffb1859f6b9850235b7a (patch)
treec72050ca60c5e75d8769abc7fbcd958b5f143a19 /README.git
parent7c0cea7063413fad636d586dde74acde37f4c5b9 (diff)
downloadlibusb-6f0330c78467bb9b5154ffb1859f6b9850235b7a.tar.gz
configure.ac: Simplify detection of Windows compilation
There are a few parts within the library where code is conditionally compiled based on whether or not the target OS is Windows. Prior to commit 8b09dd490d ("core: Kill the OS_* definitions and use in the source code"), the OS_WINDOWS definition was used. With that definition gone, the checks were replaced with _WIN32. Unfortunately the different cross-platform toolchains do not universally define this, so add this to AM_CPPFLAGS when building for Windows. Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
Diffstat (limited to 'README.git')
0 files changed, 0 insertions, 0 deletions