Differences From Artifact [b809e736ac]:
- File src/exceptions/common.h — part of check-in [3b97fc3cd9] at 2014-01-04 00:24:08 on branch trunk — Update copyright. (user: js, size: 1519) [annotate] [blame] [check-ins using]
To Artifact [8eded04c5d]:
- File
src/exceptions/common.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: 1531) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
15 16 17 18 19 20 21 | */ #include <string.h> #include <errno.h> #import "macros.h" | | | | 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | */ #include <string.h> #include <errno.h> #import "macros.h" #ifdef OF_HAVE_SOCKETS # include "socket_helpers.h" #endif #ifndef _WIN32 # define GET_ERRNO errno # ifdef OF_HAVE_SOCKETS # if !defined(HAVE_THREADSAFE_GETADDRINFO) && defined(HAVE_H_ERRNO) # define GET_AT_ERRNO h_errno |
︙ | ︙ |