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

Attachment: getopt.patch
Description: getopt.patch

_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to