summaryrefslogtreecommitdiff
path: root/include/llvm/Support
diff options
context:
space:
mode:
authorJordy Rose <jediknil@belkadan.com>2011-08-17 18:28:14 +0000
committerJordy Rose <jediknil@belkadan.com>2011-08-17 18:28:14 +0000
commitc68c8623d01140af0f165888a1bfd3d6d937aee8 (patch)
tree6318764db53e177962b20a427604cb42d2c12bbb /include/llvm/Support
parent77b6f2fd22bd9e0b8c0f1a4b0b007971e7b84d35 (diff)
downloadllvm-c68c8623d01140af0f165888a1bfd3d6d937aee8.tar.gz
llvm-c68c8623d01140af0f165888a1bfd3d6d937aee8.tar.bz2
llvm-c68c8623d01140af0f165888a1bfd3d6d937aee8.tar.xz
...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
Diffstat (limited to 'include/llvm/Support')
-rw-r--r--include/llvm/Support/DynamicLibrary.h2
1 files changed, 1 insertions, 1 deletions
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;