[PATCH] [compiler-rt] Build when SOUND_VERSION >= 0x040000

David Majnemer david.majnemer at gmail.com
Wed Aug 14 22:05:32 PDT 2013


Hi eugenis,

IOCTL_NOT_PRESENT was not declared before being used.

Fixes PR16897.

http://llvm-reviews.chandlerc.com/D1411

Files:
  lib/sanitizer_common/sanitizer_platform_limits_linux.cc

Index: lib/sanitizer_common/sanitizer_platform_limits_linux.cc
===================================================================
--- lib/sanitizer_common/sanitizer_platform_limits_linux.cc
+++ lib/sanitizer_common/sanitizer_platform_limits_linux.cc
@@ -68,6 +68,7 @@
 #endif
 
 namespace __sanitizer {
+  extern unsigned IOCTL_NOT_PRESENT;
 
   int e_tabsz = (int)E_TABSZ;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1411.1.patch
Type: text/x-patch
Size: 377 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130814/6e564ea2/attachment.bin>


More information about the llvm-commits mailing list