Author: dpsimons Date: Tue Jan 24 17:49:44 2017 New Revision: 40298 URL: http://svn.gna.org/viewcvs/gnustep?rev=40298&view=rev Log: oops -- was totally thinking Windows before -- put things back for Linux
Modified: libs/base/branches/gnustep_testplant_branch/Source/objc-load.m Modified: libs/base/branches/gnustep_testplant_branch/Source/objc-load.m URL: http://svn.gna.org/viewcvs/gnustep/libs/base/branches/gnustep_testplant_branch/Source/objc-load.m?rev=40298&r1=40297&r2=40298&view=diff ============================================================================== --- libs/base/branches/gnustep_testplant_branch/Source/objc-load.m (original) +++ libs/base/branches/gnustep_testplant_branch/Source/objc-load.m Tue Jan 24 17:49:44 2017 @@ -168,9 +168,12 @@ /* Link in the object file */ NSDebugFLLog(@"NSBundle", @"Debug (objc-load): Linking file %@\n", filename); -// handle = __objc_dynamic_link((FSCHAR*)[filename fileSystemRepresentation], -// 1, (FSCHAR*)[debugFilename fileSystemRepresentation], LOAD_WITH_ALTERED_SEARCH_PATH); +#ifdef __MINGW__ handle = LoadLibraryExW((FSCHAR*)[filename fileSystemRepresentation], 0, LOAD_WITH_ALTERED_SEARCH_PATH); +#else + handle = __objc_dynamic_link((FSCHAR*)[filename fileSystemRepresentation], + 1, (FSCHAR*)[debugFilename fileSystemRepresentation]); +#endif if (handle == 0) { if (errorStream) _______________________________________________ Gnustep-cvs mailing list Gnustep-cvs@gna.org https://mail.gna.org/listinfo/gnustep-cvs