Wireshark-commits: [Wireshark-commits] master-2.0 93848ad: Fix compilation when _DEBUG is defined.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 21 Dec 2015 12:51:01 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=93848ad354f11f593b53ee85f3aea08a809f7df8
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark

Commits:

93848ad by Gerald Combs (gerald@xxxxxxxxxxxxx):

    Fix compilation when _DEBUG is defined.
    
    CMake's Visual C++ generator creates projects that compile with the
    Debug configuration by default, which defines _DEBUG. Fix DEBUG_DUMP's
    declaration so that we compile in that case.
    
    While we're here note that the "airpd" prefix isn't limited to AirPcap,
    so we might want to change it accordingly.
    
    Change-Id: I5476f28c63020f0f66ee9128731bc4b3dc720765
    Reviewed-on: https://code.wireshark.org/review/11787
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    (cherry picked from commit 18b8f48bc113267f2c548e4ce9a3e5b744ca9c1e)
    Reviewed-on: https://code.wireshark.org/review/12793
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  0d27260   WPA/WPA2 decoding fixes and improvements
    adds  93848ad   Fix compilation when _DEBUG is defined.


Summary of changes:
 epan/crypt/airpdcap.c       |    9 ++++++++-
 epan/crypt/airpdcap_debug.h |    4 ++--
 2 files changed, 10 insertions(+), 3 deletions(-)