X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=configure.ac;h=36058466bb53373b7cec52ca93c6673352b6b527;hb=2d998c09446a230b669f0ea9771dabf2dbea2fe8;hp=ce28633812d909fdcc0a2e27223a938d6a5f6b73;hpb=c7de02d6195abb736b00c30fdf3010e242f93640;p=openocd.git 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.])