Differences From Artifact [db322fe9c1]:
- File
src/of_asprintf.m
— part of check-in
[17be12b6e5]
at
2014-05-15 01:50:04
on branch trunk
— Don't define _*_SOURCE
Instead, just define _GNU_SOURCE when __GLIBC__ is defined. After all,
that's the only libc that doesn't work properly without any defines. (user: js, size: 13506) [annotate] [blame] [check-ins using]
To Artifact [6eaf017199]:
- File
src/of_asprintf.m
— part of check-in
[13ee56edf3]
at
2014-06-21 21:43:43
on branch trunk
— Move all macros from OFObject.h to macros.h
This means that OFObject.h imports macros.h now, making it unnecessary
to manually import macros.h in almost every file. And while at it, also
import autorelease.h in OFObject.h, so that this doesn't need to be
manually imported in almost every file as well. (user: js, size: 13463) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
24 25 26 27 28 29 30 | #include <wchar.h> #include <sys/types.h> #import "OFString.h" #import "asprintf.h" | < < | 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | #include <wchar.h> #include <sys/types.h> #import "OFString.h" #import "asprintf.h" #define MAX_SUBFORMAT_LEN 64 struct context { const char *format; size_t formatLen; char subformat[MAX_SUBFORMAT_LEN + 1]; |
︙ | ︙ |