Wireshark-commits: [Wireshark-commits] master-2.4 9a84ec4: Include <config.h> so UNICODE is defined

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 28 Feb 2018 17:29:25 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=9a84ec49ca0bc199fb22410705b72f93f28bb9b8
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.4
Repository: wireshark

Commits:

9a84ec4 by Guy Harris (guy@xxxxxxxxxxxx):

    Include <config.h> so UNICODE is defined.
    
    All other files should do so; this file should, so that we're using the
    Unicode versions of Windows APIs (especially given that other files that
    include wsutil/unicode-utils.h will be doing so and expecting UTF-16
    strings from utf_8to16_snprintf()).
    
    Change-Id: I7eccf580ab0dc504aa78b345e36e2fcda818a7c5
    Reviewed-on: https://code.wireshark.org/review/26170
    Petri-Dish: Guy Harris <guy@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit 9f2dff98f6526412e8065a8c9ade811dcb1974fe)
    Reviewed-on: https://code.wireshark.org/review/26180
    

Actions performed:

    from  23c0a41   adb: fix buffer overflow while processing message payload
    adds  9a84ec4   Include <config.h> so UNICODE is defined.


Summary of changes:
 wsutil/unicode-utils.c | 2 ++
 1 file changed, 2 insertions(+)