added modopen()/modclose()/modsym() to Awk/StdAwk.

migrated /lib/awk/mpi.c to mod/awk/mpi.c partially
This commit is contained in:
2012-10-31 13:51:32 +00:00
parent 65c324d373
commit acb40dea35
14 changed files with 507 additions and 245 deletions

View File

@ -36,6 +36,8 @@
# include <unistd.h>
# include <signal.h>
# include <errno.h>
# include <ltdl.h>
# define USE_LTDL
#endif
/* these three definitions for doxygen cross-reference */
@ -468,8 +470,16 @@ int qse_main (int argc, qse_achar_t* argv[])
qse_setdflcmgrbyid (QSE_CMGR_SLMB);
#endif
#if defined(USE_LTDL)
lt_dlinit ();
#endif
ret = qse_runmain (argc, argv, awk_main);
#if defined(USE_LTDL)
lt_dlexit ();
#endif
#if defined(_WIN32)
WSACleanup ();
#endif