summaryrefslogtreecommitdiff
path: root/lldb/tools
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2018-11-29 11:53:12 +0000
committerPavel Labath <pavel@labath.sk>2018-11-29 11:53:12 +0000
commit9756ec67ece91df4213ba2132f67f55b58701b20 (patch)
tree93bab4f2d83ab4f370a6d1de11eb31f1e01e4fd7 /lldb/tools
parent2b434b1b1b63a1a79bb49ed8b8bb724b387dbf86 (diff)
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.
Diffstat (limited to 'lldb/tools')
-rw-r--r--lldb/tools/driver/Platform.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/lldb/tools/driver/Platform.h b/lldb/tools/driver/Platform.h
index 25d5ae23b99..1bb42f9cfc1 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