From: Jordy Rose Date: Wed, 17 Aug 2011 18:28:14 +0000 (+0000) Subject: ...and make sure DynamicLibrary builds by removing "const" from the Invalid placeholder. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c68c8623d01140af0f165888a1bfd3d6d937aee8;p=oota-llvm.git ...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 --- diff --git a/include/llvm/Support/DynamicLibrary.h b/include/llvm/Support/DynamicLibrary.h index 11965292dd1..288936bc0b9 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;