Mercurial > hg > dmlib
changeset 794:319792b2af4a
Fix non-fallback loading of JSSMod.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 18 Oct 2013 14:38:59 +0300 |
parents | 21ad08cdf408 |
children | 926e3900119c |
files | tests/plrtest.c |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/plrtest.c Fri Oct 18 14:31:12 2013 +0300 +++ b/tests/plrtest.c Fri Oct 18 14:38:59 2013 +0300 @@ -142,7 +142,6 @@ #ifdef JSS_SUP_XM fprintf(stderr, "* Trying XM...\n"); result = jssLoadXM(file, &mod); -#endif #ifdef JSS_SUP_JSSMOD if (result != 0) { @@ -151,6 +150,12 @@ result = jssLoadJSSMOD(file, &mod); } #endif +#else +#ifdef JSS_SUP_JSSMOD + dmMsg(1, "* Trying JSSMOD ...\n"); + result = jssLoadJSSMOD(file, &mod); +#endif +#endif dmf_close(file); if (result != DMERR_OK)