JRexContextMenuListener2Impl.cpp does not compile without DOM [patch]
Jean-Philippe Leboeuf <[email protected]> Wed, 12 Jul 2006 15:02:11 +0200
| Newsgroups | gmane.comp.mozilla.jrex |
|---|---|
| Message-ID | <[email protected]> |
Hello, going on with my patches for jrex_1_0b1_dom3 on Mingw : - gcc-core-3.4.2-20040916-1 - gcc-g++-3.4.2-20040916-1 - binutils-2.15.91-20040904-1 - mingw-runtime-3.9 - w32api-3.6 In the end of the file, the if(jdomNode) must be conditionnal to the definition of JREX_DOM, cos without JNIEnv* env=JRex_GetEnv(0); is not accessible. It does not seem to be a problem because of jdomNode being null without DOM. ++jpl _______________________________________________ JRex mailing list [email protected] http://mozdev.org/mailman/listinfo/jrex
JRexContextMenuListener2Impl_noDOM.patch
(text/plain, 123 B)
16a17 > * J.-P. Leboeuf <[email protected]> 124a126 > #if defined(JREX_DOM) 128a131 > #endif