Projects

Ticket #16: patch-CommonUtilitiesLib_OSCodeFragment_cpp

File patch-CommonUtilitiesLib_OSCodeFragment_cpp, 0.6 KB (added by jason@…, 4 years ago)
Line 
1$OpenBSD$
2--- CommonUtilitiesLib/OSCodeFragment.cpp.orig  Tue May  6 01:28:59 2008
3+++ CommonUtilitiesLib/OSCodeFragment.cpp       Fri Jun  6 21:41:35 2008
4@@ -62,6 +62,8 @@ OSCodeFragment::OSCodeFragment(const char* inPath)
5     fFragmentP = dlopen((char *)inPath, RTLD_NOW | RTLD_GLOBAL);
6 #elif defined(__FreeBSD__)
7     fFragmentP = dlopen(inPath, RTLD_NOW);
8+#elif defined(__OpenBSD__)
9+       fFragmentP = dlopen(inPath, RTLD_LAZY);
10 #elif defined(__sgi__)
11     fFragmentP = dlopen(inPath, RTLD_NOW); // not sure this should be either RTLD_NOW or RTLD_LAZY
12 #elif defined(__Win32__)