Ticket #23556: platform-misc-cpp.diff
File platform-misc-cpp.diff, 562 bytes (added by pepijndevos@…, 15 years ago) |
---|
-
rts/System/Platform/Misc.cpp
old new 9 9 #include <shlwapi.h> 10 10 #include "System/Platform/Win/WinVersion.h" 11 11 12 #elif MACOSX_BUNDLE12 #elif __APPLE__ 13 13 #include <CoreFoundation/CoreFoundation.h> 14 14 #include <dlfcn.h> // for dladdr(), dlopen() 15 15 #include <mach-o/dyld.h> … … 50 50 { 51 51 char pathReal[PATH_MAX]; 52 52 realpath(path, pathReal); 53 procExeFilePath =std::string(pathReal);53 return std::string(pathReal); 54 54 } 55 55 #else 56 56 return "";