~ubuntu-branches/ubuntu/trusty/gnustep-base/trusty

« back to all changes in this revision

Viewing changes to Source/GSCompatibility.m

Tags: upstream-1.11.2
ImportĀ upstreamĀ versionĀ 1.11.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/** Runtime MacOSX compatibility functionality
2
2
   Copyright (C) 2000 Free Software Foundation, Inc.
3
3
 
4
 
   Written by:  Richard frith-Macdonald <rfm@gnu.org>
 
4
   Written by:  Richard Frith-Macdonald <rfm@gnu.org>
5
5
   Date: August 2000
6
6
 
7
7
   This file is part of the GNUstep Base Library.
18
18
 
19
19
   You should have received a copy of the GNU Library General Public
20
20
   License along with this library; if not, write to the Free
21
 
   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA.
 
21
   Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
22
22
   */
23
23
 
24
24
#include "config.h"
50
50
 
51
51
BOOL GSMacOSXCompatiblePropertyLists(void)
52
52
{
 
53
#if     defined(HAVE_LIBXML)
53
54
  if (GSUserDefaultsFlag(NSWriteOldStylePropertyLists) == YES)
54
55
    return NO;
55
56
  return GSUserDefaultsFlag(GSMacOSXCompatible);
 
57
#else
 
58
  return NO;
 
59
#endif
56
60
}
57
61