[lldb-dev] [patch] Move a check to HostGetOpt.h

Greg Clayton gclayton at apple.com
Tue Mar 11 10:02:11 PDT 2014


Looks good as long as _WIN32 is defined for 64 bit windows builds.

On Mar 11, 2014, at 8:12 AM, Abid, Hafiz <Hafiz_Abid at mentor.com> wrote:

> There is a check in OptionParser.cpp to define _BSD_SOURCE. This was also needed in Platform.h as it also includes HostGetOpt.h. So I have moved that check in HostGetOpt.h so that it can be used in both places. I think it is obvious but still checked that lldb compiles fine for both Linux and mingw. 
> 
> Regards,
> Abid
> <getopt.patch>_______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev




More information about the lldb-dev mailing list