Fix windows build broken by r347846
authorPavel Labath <pavel@labath.sk>
Thu, 29 Nov 2018 11:53:12 +0000 (11:53 +0000)
committerPavel Labath <pavel@labath.sk>
Thu, 29 Nov 2018 11:53:12 +0000 (11:53 +0000)
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

index 25d5ae2..1bb42f9 100644 (file)
@@ -60,7 +60,6 @@ struct timeval {
   long tv_usec;
 };
 typedef long pid_t;
-#define snprintf _snprintf
 #define PATH_MAX MAX_PATH
 #endif