From c68c8623d01140af0f165888a1bfd3d6d937aee8 Mon Sep 17 00:00:00 2001 From: Jordy Rose Date: Wed, 17 Aug 2011 18:28:14 +0000 Subject: ...and make sure DynamicLibrary builds by removing "const" from the Invalid placeholder. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137843 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/DynamicLibrary.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/llvm/Support/DynamicLibrary.h') diff --git a/include/llvm/Support/DynamicLibrary.h b/include/llvm/Support/DynamicLibrary.h index 11965292dd..288936bc0b 100644 --- a/include/llvm/Support/DynamicLibrary.h +++ b/include/llvm/Support/DynamicLibrary.h @@ -35,7 +35,7 @@ namespace sys { // Placeholder whose address represents an invalid library. // We use this instead of NULL or a pointer-int pair because the OS library // might define 0 or 1 to be "special" handles, such as "search all". - static const char Invalid; + static char Invalid; // Opaque data used to interface with OS-specific dynamic library handling. void *Data; -- cgit v1.2.3