X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=configure.ac;h=36058466bb53373b7cec52ca93c6673352b6b527;hp=ce28633812d909fdcc0a2e27223a938d6a5f6b73;hb=fd43be07265b5f3cf3146f2bb80c1c2fc0a44fcf;hpb=c7de02d6195abb736b00c30fdf3010e242f93640 diff --git a/configure.ac b/configure.ac index ce28633812..36058466bb 100644 --- a/configure.ac +++ b/configure.ac @@ -623,6 +623,10 @@ case $host in ;; esac +if test $is_win32 = yes; then + AC_DEFINE([WIN32_LEAN_AND_MEAN], [1], [1 to exclude old conflicting definitions when building on Windows]) +fi + if test $build_parport = yes; then build_bitbang=yes AC_DEFINE([BUILD_PARPORT], [1], [1 if you want parport.])