diff options
| author | Hafiz Abid Qadeer <hafiz_abid@mentor.com> | 2015-02-18 11:12:11 +0000 |
|---|---|---|
| committer | Hafiz Abid Qadeer <hafiz_abid@mentor.com> | 2015-02-18 11:12:11 +0000 |
| commit | 019ea8a7c044ab0d5773c1ec2f6de7f8499a28af (patch) | |
| tree | 8df8398cd7d8007a294fb394a8978709bbdb0eef /lldb/tools/driver | |
| parent | dfbe60598537097400974f0007eba98375a24078 (diff) | |
| download | bcm5719-llvm-019ea8a7c044ab0d5773c1ec2f6de7f8499a28af.tar.gz bcm5719-llvm-019ea8a7c044ab0d5773c1ec2f6de7f8499a28af.zip | |
Fix some warnings in MSVC build.
Platform.h was causing soem warning due to multiple defined maros.
It already has a define that excludes the singal.h but that was not being
used at correct place. It has been fixed now.
Tested by building on Windows(MSVC) and Linux(gcc).
llvm-svn: 229664
Diffstat (limited to 'lldb/tools/driver')
| -rw-r--r-- | lldb/tools/driver/Platform.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lldb/tools/driver/Platform.h b/lldb/tools/driver/Platform.h index 8995512a0f8..8d4c7402fe8 100644 --- a/lldb/tools/driver/Platform.h +++ b/lldb/tools/driver/Platform.h @@ -10,12 +10,11 @@ #ifndef lldb_Platform_h_ #define lldb_Platform_h_ -#include "lldb/Host/HostGetOpt.h" - #if defined( _WIN32 ) // this will stop signal.h being included #define _INC_SIGNAL + #include "lldb/Host/HostGetOpt.h" #include <io.h> #if defined( _MSC_VER ) #include <eh.h> @@ -93,7 +92,7 @@ extern int tcgetattr( int fildes, struct termios *termios_p ); #else - + #include "lldb/Host/HostGetOpt.h" #include <inttypes.h> #include <libgen.h> |

