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

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

Commits:

9f2dff9 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>
    

Actions performed:

    from  7eff18a   t38: allocate memory in pinfo pool scope.
    adds  9f2dff9   Include <config.h> so UNICODE is defined.


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