add MAC OS X

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5859 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2007-10-12 22:56:15 +00:00
parent 12eb8c5a87
commit 12d032b9cc

View File

@ -662,7 +662,7 @@ static switch_status_t switch_loadable_module_load_file(char *path, char *filena
#ifdef WIN32
status = switch_dso_load(&dso, "FreeSwitch.dll", loadable_modules.pool);
#elif defined(DARWIN)
#elif defined (MACOSX) || defined(DARWIN)
status = switch_dso_load(&dso, "libfreeswitch.dylib", loadable_modules.pool);
#else
status = switch_dso_load(&dso, NULL, loadable_modules.pool);