[SystemZ] Add test missing from r186148
[oota-llvm.git] / include / llvm / Support / DynamicLibrary.h
index 11965292dd187a4487be961806d3e22db8429bc2..1e2d16ccbc810d2ad6ee4edefa49d0221ff4266f 100644 (file)
 //
 //===----------------------------------------------------------------------===//
 
-#ifndef LLVM_SYSTEM_DYNAMIC_LIBRARY_H
-#define LLVM_SYSTEM_DYNAMIC_LIBRARY_H
+#ifndef LLVM_SYSTEM_DYNAMICLIBRARY_H
+#define LLVM_SYSTEM_DYNAMICLIBRARY_H
 
 #include <string>
 
 namespace llvm {
+
+class StringRef;
+
 namespace sys {
 
   /// This class provides a portable interface to dynamic libraries which also
@@ -35,7 +38,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;