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

Abid, Hafiz Hafiz_Abid at mentor.com
Tue Mar 11 08:12:53 PDT 2014


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: getopt.patch
Type: application/octet-stream
Size: 942 bytes
Desc: getopt.patch
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140311/8ae9f9c2/attachment.obj>


More information about the lldb-dev mailing list