From 7c4d50dccf3080965c202f63aa56439e3824eaf3 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Wed, 25 Apr 2018 21:33:57 +0200 Subject: Revert "Update NSPR to 4.18" This reverts commit 8781f745556be5d7402d0f3adc67ecfe32fe04a0. --- nsprpub/pr/tests/dceemu.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'nsprpub/pr/tests/dceemu.c') diff --git a/nsprpub/pr/tests/dceemu.c b/nsprpub/pr/tests/dceemu.c index 99fd6cb7c..b06b49e3a 100644 --- a/nsprpub/pr/tests/dceemu.c +++ b/nsprpub/pr/tests/dceemu.c @@ -29,6 +29,8 @@ #include #include +#if defined(_PR_DCETHREADS) + PRIntn failed_already=0; PRIntn debug_mode=0; @@ -78,13 +80,20 @@ static PRIntn prmain(PRIntn argc, char **argv) } /* prmain */ +#endif /* #if defined(_PR_DCETHREADS) */ + int main(int argc, char **argv) { + +#if defined(_PR_DCETHREADS) PR_Initialize(prmain, argc, argv, 0); if(failed_already) return 1; else return 0; +#else + return 0; +#endif } /* main */ -- cgit v1.2.3