From 10c63835ad33c1d1a9b0d1609948882bc80eacc3 Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Thu, 29 Nov 2018 11:53:12 +0000 Subject: [PATCH] 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. llvm-svn: 347855 --- lldb/tools/driver/Platform.h | 1 - 1 file changed, 1 deletion(-) diff --git a/lldb/tools/driver/Platform.h b/lldb/tools/driver/Platform.h index 25d5ae2..1bb42f9 100644 --- a/lldb/tools/driver/Platform.h +++ b/lldb/tools/driver/Platform.h @@ -60,7 +60,6 @@ struct timeval { long tv_usec; }; typedef long pid_t; -#define snprintf _snprintf #define PATH_MAX MAX_PATH #endif -- 2.7.4