[Freeswitch-dev] quick question about the following lines of code

jesse chat2jesse at gmail.com
Thu Jun 16 21:57:22 MSD 2011


in file switch_loadable_module.c:


switch_loadable_module_load_file(char *path, char *filename, switch_bool_t
global, switch_loadable_module_t **new_module)

#ifdef WIN32
  dso = switch_dso_open("FreeSwitch.dll", load_global, &derr);
#elif defined (MACOSX) || defined(DARWIN)
  dso = switch_dso_open(SWITCH_PREFIX_DIR "/lib/libfreeswitch.dylib",
load_global, &derr);
#else
  dso = switch_dso_open(NULL, load_global, &derr);
#endif



why the else case is dso open "NULL"? shouldn't it be  lib/libfreeswitch.so?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110616/23a05173/attachment.html 


More information about the FreeSWITCH-dev mailing list