Wireshark-commits: [Wireshark-commits] master 2233ef5: Include some files based on whether the func

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 25 Dec 2014 00:13:59 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=2233ef59c99eaf1d07a0ab9c8d1891f6428c02c1
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

2233ef5 by Guy Harris (guy@xxxxxxxxxxxx):

    Include some files based on whether the functions they define are present.
    
    Rather than including wsgetopt.c, inet_aton.c, and strptime.c iff we're
    building for Windows:
    
    	include wsgetopt.c iff we don't have getopt();
    
    	include inet_aton.c iff we don't have inet_aton();
    
    	include strptime.c iff we don't have strptime().
    
    Change-Id: Ibd68306ac372a4ae102c3220a94cdf6ecb04e58c
    Reviewed-on: https://code.wireshark.org/review/6044
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  153c63d   Don't use extra variables for ws_mempbrk_sse42.c and popcount.c
    adds  2233ef5   Include some files based on whether the functions they define are present.


Summary of changes:
 wsutil/CMakeLists.txt |   15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)