KissXML icon indicating copy to clipboard operation
KissXML copied to clipboard

Allow easier turn on of #define NS* declarations

Open robertjpayne opened this issue 13 years ago • 1 comments

Currently you must modified the DDXML.h header to turn on the #define NS* declarations.

Instead of:

#if TARGET_OS_IPHONE && 0 // Disabled by default

Do:

#ifndef DDXML_NS_DECLARATIONS_ENABLED
#define DDXML_NS_DECLARATIONS_ENABLED 0 // Disabled by default
#endif

#if DDXML_NS_DECLARATIONS_ENABLED

Which would allow "turn on" without modifying the headers. This is important so KissXML can be easily updated and not "patched" over and over to turn it on.

robertjpayne avatar May 20 '12 12:05 robertjpayne

Would be nice to have this modification.

anagromataf avatar Jul 04 '12 13:07 anagromataf