]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
add MAC OS X
authorBrian West <brian@freeswitch.org>
Fri, 12 Oct 2007 22:56:15 +0000 (22:56 +0000)
committerBrian West <brian@freeswitch.org>
Fri, 12 Oct 2007 22:56:15 +0000 (22:56 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5859 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_loadable_module.c

index 40de728315ed36cd7f861077d879c543b8b62e48..aaeb701c889f782915d520aed67c0c291a8abe82 100644 (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);