diff options
author | Nuno Lopes <nunoplopes@sapo.pt> | 2017-05-05 16:08:22 +0000 |
---|---|---|
committer | Nuno Lopes <nunoplopes@sapo.pt> | 2017-05-05 16:08:22 +0000 |
commit | 8b66b00ecd04c3d37fcfa6bfd03595365c7efd30 (patch) | |
tree | 3d41e9a5d1db727c56a2d601cff30bab0288459d /llvm/lib/Support/Unix/DynamicLibrary.inc | |
parent | 94d42533eb2e6aa03c7ca85d90e4dcfefbbf45a2 (diff) | |
download | llvm-8b66b00ecd04c3d37fcfa6bfd03595365c7efd30.zip llvm-8b66b00ecd04c3d37fcfa6bfd03595365c7efd30.tar.gz llvm-8b66b00ecd04c3d37fcfa6bfd03595365c7efd30.tar.bz2 |
fix build on Cygwin
llvm-svn: 302246
Diffstat (limited to 'llvm/lib/Support/Unix/DynamicLibrary.inc')
-rw-r--r-- | llvm/lib/Support/Unix/DynamicLibrary.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Unix/DynamicLibrary.inc b/llvm/lib/Support/Unix/DynamicLibrary.inc index a0110e7..a0526fa 100644 --- a/llvm/lib/Support/Unix/DynamicLibrary.inc +++ b/llvm/lib/Support/Unix/DynamicLibrary.inc @@ -31,7 +31,7 @@ void *DynamicLibrary::HandleSet::DLOpen(const char *File, std::string *Err) { #ifdef __CYGWIN__ // Cygwin searches symbols only in the main // with the handle of dlopen(NULL, RTLD_GLOBAL). - if (!Filename) + if (!File) Handle = RTLD_DEFAULT; #endif |