Author: labath Date: Thu Nov 29 03:53:12 2018 New Revision: 347855 URL: http://llvm.org/viewvc/llvm-project?rev=347855&view=rev Log: Fix windows build broken by r347846
The changed order of includes caused compile errors on MSVC due to snprintf macro definition. snprintf should available since VS2015, and the rest of the code seems to be able to use snprintf just fine without this macro, so this removes it from the lldb driver as well. Modified: lldb/trunk/tools/driver/Platform.h Modified: lldb/trunk/tools/driver/Platform.h URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/driver/Platform.h?rev=347855&r1=347854&r2=347855&view=diff ============================================================================== --- lldb/trunk/tools/driver/Platform.h (original) +++ lldb/trunk/tools/driver/Platform.h Thu Nov 29 03:53:12 2018 @@ -60,7 +60,6 @@ struct timeval { long tv_usec; }; typedef long pid_t; -#define snprintf _snprintf #define PATH_MAX MAX_PATH #endif _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits