...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
This commit is contained in:
Jordy Rose 2011-08-17 18:28:14 +00:00
parent 77b6f2fd22
commit c68c8623d0

View File

@ -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;