Index: generic/nsfInt.h =================================================================== diff -u -N -rb7fc53255ed596e8e8ff630461349b7a35e1c3f3 -r75383021cb9f2f2db883583779a02eef6f1801f5 --- generic/nsfInt.h (.../nsfInt.h) (revision b7fc53255ed596e8e8ff630461349b7a35e1c3f3) +++ generic/nsfInt.h (.../nsfInt.h) (revision 75383021cb9f2f2db883583779a02eef6f1801f5) @@ -258,6 +258,12 @@ # include #endif +# if !defined(NDEBUG) +# define ISOBJ(o) (o != NULL && o != (void*)0xdeadbeaf && (o->typePtr ? o->typePtr->name != NULL : 1) && o->length >= -1 && (o->length > 0 ? o->bytes!= NULL : 1) && o->refCount >= 0) +#else +# define ISOBJ(o) (o != NULL) +#endif + /* * This was defined to be inline for anything !sun or __IBMC__ >= 0x0306, * but __hpux should also be checked - switched to only allow in gcc - JH @@ -1139,8 +1145,4 @@ #endif #endif -#if !defined(NDEBUG) -/*# define NSF_INLINE*/ -#endif - #endif /* _nsf_int_h_ */