ObjFW  Check-in [8ed8b90cd8]

Overview
Comment:Work around a bug with Clang + glibc.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 8ed8b90cd86555ad608b876e43fd0099280e343487f541858ba1d20342b16bef
User & Date: js on 2011-12-21 20:05:17
Other Links: manifest | tags
Context
2011-12-23
03:07
Add an uncaught exception handler for the Apple & new GNU runtime. check-in: 40c0aba35e user: js tags: trunk
2011-12-21
20:05
Work around a bug with Clang + glibc. check-in: 8ed8b90cd8 user: js tags: trunk
19:40
Fix a bug that only happens with Clang + glibc + 64 bit. check-in: c944a32244 user: js tags: trunk
Changes

Modified src/OFFile.m from [ec14d28310] to [8775f73861].

13
14
15
16
17
18
19





20
21
22
23
24
25
26
 * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
 * file.
 */

#include "config.h"

#define __NO_EXT_QNX






#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>

#include <unistd.h>







>
>
>
>
>







13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
 * file.
 */

#include "config.h"

#define __NO_EXT_QNX

/* Work around a bug with Clang + glibc */
#ifdef __clang__
# define _HAVE_STRING_ARCH_strcmp
#endif

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>

#include <unistd.h>