Skip to content

Commit

Permalink
Merge pull request #29 from tipbit/ns-declarations-enabled
Browse files Browse the repository at this point in the history
Add a DDXML_NS_DECLARATIONS_ENABLED macro.
  • Loading branch information
chrisballinger committed Jan 22, 2016
2 parents 270b562 + 7c33278 commit a4b504a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion KissXML/DDXML.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,11 @@
#import "DDXMLDocument.h"


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

#if TARGET_OS_IPHONE && 0 // Disabled by default
#if TARGET_OS_IPHONE && DDXML_NS_DECLARATIONS_ENABLED

// Since KissXML is a drop in replacement for NSXML,
// it may be desireable (when writing cross-platform code to be used on both Mac OS X and iOS)
Expand Down

0 comments on commit a4b504a

Please sign in to comment.