[llvm] r302246 - fix build on Cygwin
Nuno Lopes via llvm-commits
llvm-commits at lists.llvm.org
Fri May 5 09:08:22 PDT 2017
Author: nlopes
Date: Fri May 5 11:08:22 2017
New Revision: 302246
URL: http://llvm.org/viewvc/llvm-project?rev=302246&view=rev
Log:
fix build on Cygwin
Modified:
llvm/trunk/lib/Support/Unix/DynamicLibrary.inc
Modified: llvm/trunk/lib/Support/Unix/DynamicLibrary.inc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Unix/DynamicLibrary.inc?rev=302246&r1=302245&r2=302246&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Unix/DynamicLibrary.inc (original)
+++ llvm/trunk/lib/Support/Unix/DynamicLibrary.inc Fri May 5 11:08:22 2017
@@ -31,7 +31,7 @@ void *DynamicLibrary::HandleSet::DLOpen(
#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
More information about the llvm-commits
mailing list