projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Eliminated lingering validation failure message on the status bar. Added wxPropertyGr...
[wxWidgets.git]
/
tests
/
misc
/
dynamiclib.cpp
diff --git
a/tests/misc/dynamiclib.cpp
b/tests/misc/dynamiclib.cpp
index f05090d5751b6ca1f6fde2450dbf4ae58ed20730..4fedd6bed0e9ebc78804201b19a556be3547e45f 100644
(file)
--- a/
tests/misc/dynamiclib.cpp
+++ b/
tests/misc/dynamiclib.cpp
@@
-50,8
+50,12
@@
void DynamicLibraryTestCase::Load()
static const wxChar *LIB_NAME = wxT("kernel32.dll");
static const wxChar *FUNC_NAME = wxT("lstrlenA");
#elif defined(__UNIX__)
static const wxChar *LIB_NAME = wxT("kernel32.dll");
static const wxChar *FUNC_NAME = wxT("lstrlenA");
#elif defined(__UNIX__)
+#ifdef __DARWIN__
+ static const wxChar *LIB_NAME = wxT("/usr/lib/libc.dylib");
+#else
// weird: using just libc.so does *not* work!
static const wxChar *LIB_NAME = wxT("/lib/libc.so.6");
// weird: using just libc.so does *not* work!
static const wxChar *LIB_NAME = wxT("/lib/libc.so.6");
+#endif
static const wxChar *FUNC_NAME = wxT("strlen");
#else
#error "don't know how to test wxDllLoader on this platform"
static const wxChar *FUNC_NAME = wxT("strlen");
#else
#error "don't know how to test wxDllLoader on this platform"