summaryrefslogtreecommitdiffstats
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
commit10c63835ad33c1d1a9b0d1609948882bc80eacc3 (patch)
treeeb6e4a46750c7c76ebc731f699c0188763480315
parentfd8aeb2c2a963e3835b83dd8bbc9a4d6844c9a36 (diff)
downloadbcm5719-llvm-10c63835ad33c1d1a9b0d1609948882bc80eacc3.tar.gz
bcm5719-llvm-10c63835ad33c1d1a9b0d1609948882bc80eacc3.zip
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
-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
OpenPOWER on IntegriCloud