diff options
| author | Kostya Serebryany <kcc@google.com> | 2014-09-16 20:49:55 +0000 |
|---|---|---|
| committer | Kostya Serebryany <kcc@google.com> | 2014-09-16 20:49:55 +0000 |
| commit | 9fa2fc8357e40bd4ce55acc749c0ef22e84ad650 (patch) | |
| tree | 1360a1214c8be790154e8b4546ca77b64a697443 /compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h | |
| parent | bd7c7b55511a4b4b50b77559a44eff6d350224c4 (diff) | |
| download | bcm5719-llvm-9fa2fc8357e40bd4ce55acc749c0ef22e84ad650.tar.gz bcm5719-llvm-9fa2fc8357e40bd4ce55acc749c0ef22e84ad650.zip | |
[sanitizer] Fix global constructor warning in sanitizer; patch by Samuel F Antao
llvm-svn: 217904
Diffstat (limited to 'compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h')
| -rw-r--r-- | compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h b/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h index 8ec1c58f7e7..01ed51b32aa 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h +++ b/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h @@ -861,7 +861,7 @@ struct __sanitizer_obstack { // A special value to mark ioctls that are not present on the target platform, // when it can not be determined without including any system headers. - extern unsigned IOCTL_NOT_PRESENT; + extern const unsigned IOCTL_NOT_PRESENT; extern unsigned IOCTL_FIOASYNC; extern unsigned IOCTL_FIOCLEX; |

