ObjFW  Diff

Differences From Artifact [3fc178ff9d]:

  • File src/OFSystemInfo.m — part of check-in [4e926dc017] at 2017-12-23 20:35:28 on branch trunk — Implement fallback to NS*SearchPathEnumeration

    This is used when sysdir_*_search_path_enumeration is unavailable.

    Unfortunately, iOS 9 does not support sysdir_*_search_path_enumeration.
    When compiled with a newer SDK, the symbol is available during linking,
    but not at runtime, resulting in a crash. However, newer SDKs also
    dropped NS*SearchPathEnumeration, so that it is not easy to provide a
    fallback. This means that we need to declare all enums, types and
    functions rather than just including them. (user: js, size: 10427) [annotate] [blame] [check-ins using]

To Artifact [1ceb93d76e]:


1
2

3
4
5
6
7
8
9
/*
 * Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017

 *   Jonathan Schleifer <js@heap.zone>
 *
 * All rights reserved.
 *
 * This file is part of ObjFW. It may be distributed under the terms of the
 * Q Public License 1.0, which can be found in the file LICENSE.QPL included in
 * the packaging of this file.

|
>







1
2
3
4
5
6
7
8
9
10
/*
 * Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
 *               2018
 *   Jonathan Schleifer <js@heap.zone>
 *
 * All rights reserved.
 *
 * This file is part of ObjFW. It may be distributed under the terms of the
 * Q Public License 1.0, which can be found in the file LICENSE.QPL included in
 * the packaging of this file.