Differences From Artifact [3858acab50]:
- File
src/macros.h
— part of check-in
[2f5af58573]
at
2014-02-13 23:26:17
on branch trunk
— Use -std=c11 instead of -std=gnu11
Not using -std=gnu11 means _GNU_SOURCE does not get defined anymore,
therefore this commit also adds the required feature defines for glibc.Additionally, this adds of_strdup in macros.h, as strdup is an
extension. (user: js, size: 10044) [annotate] [blame] [check-ins using]
To Artifact [05f8092242]:
- File src/macros.h — part of check-in [efcf24c8ba] at 2014-02-18 15:07:45 on branch trunk — macros.h: Add OF_ARM64_ASM define (user: js, size: 10117) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
106 107 108 109 110 111 112 113 114 115 116 117 118 119 | # endif # ifdef __ARM_ARCH_6T2__ # define OF_ARMV6_ASM # endif # ifdef OF_ARMV7_ASM # define OF_ARMV6_ASM # endif # endif #endif #define OF_ENSURE(cond) \ if (!(cond)) { \ fprintf(stderr, "Failed to ensure condition in " \ __FILE__ ":%d:\n" #cond "\n", __LINE__); \ | > > | 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | # endif # ifdef __ARM_ARCH_6T2__ # define OF_ARMV6_ASM # endif # ifdef OF_ARMV7_ASM # define OF_ARMV6_ASM # endif # elif defined(__arm64__) || defined(__aarch64__) # define OF_ARM64_ASM # endif #endif #define OF_ENSURE(cond) \ if (!(cond)) { \ fprintf(stderr, "Failed to ensure condition in " \ __FILE__ ":%d:\n" #cond "\n", __LINE__); \ |
︙ | ︙ |