Changeset 14316 for trunk/configure.ac


Ignore:
Timestamp:
Jul 4, 2014, 12:00:07 AM (8 years ago)
Author:
livings124
Message:

Use built-in _WIN32 macro instead of WIN32

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r14310 r14316  
    449449     have_msw="yes"
    450450     CXXFLAGS="$CXXFLAGS -mms-bitfields -mwin32 -mwindows"
    451      CPPFLAGS="$CPPFLAGS -DWIN32 -D_WIN32 -DWIN32_LEAN_AND_MEAN"
     451     CPPFLAGS="$CPPFLAGS -DWIN32_LEAN_AND_MEAN"
    452452     LIBS="$LIBS -liphlpapi -lshell32 -lws2_32"
    453453     transmissionlocaledir="locale"
     
    508508      exit 1
    509509    fi
    510 fi
    511 if test "x$have_msw" = "xyes"; then
    512     AC_DEFINE([HAVE_MSW], 1)
    513510fi
    514511AM_CONDITIONAL(WIN32, test "x$have_msw" = "xyes")
Note: See TracChangeset for help on using the changeset viewer.