ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libcoro/coro.h
(Generate patch)

Comparing libcoro/coro.h (file contents):
Revision 1.56 by root, Fri Aug 26 10:38:04 2016 UTC vs.
Revision 1.57 by root, Sat Aug 27 12:50:11 2016 UTC

80 * 2012-12-07 API version 3 - add coro_stack_alloc/coro_stack_free. 80 * 2012-12-07 API version 3 - add coro_stack_alloc/coro_stack_free.
81 * 2012-12-21 valgrind stack registering was broken. 81 * 2012-12-21 valgrind stack registering was broken.
82 * 2015-12-05 experimental asm be for arm7, based on a patch by Nick Zavaritsky. 82 * 2015-12-05 experimental asm be for arm7, based on a patch by Nick Zavaritsky.
83 * use __name__ for predefined symbols, as in libecb. 83 * use __name__ for predefined symbols, as in libecb.
84 * enable guard pages on arm, aarch64 and mips. 84 * enable guard pages on arm, aarch64 and mips.
85 * 2016-08-27 try to disable _FORTIFY_SOURCE with CORO_SJLJ, as it
86 * breaks setjmp/longjmp.
85 */ 87 */
86 88
87#ifndef CORO_H 89#ifndef CORO_H
88#define CORO_H 90#define CORO_H
89 91
335 337
336# if defined(CORO_LINUX) && !defined(_GNU_SOURCE) 338# if defined(CORO_LINUX) && !defined(_GNU_SOURCE)
337# define _GNU_SOURCE /* for glibc */ 339# define _GNU_SOURCE /* for glibc */
338# endif 340# endif
339 341
342/* try to disable well-meant but buggy checks in some libcs */
343# ifdef _FORTIFY_SOURCE
344# undef _FORTIFY_SOURCE
345# undef __USE_FORTIFY_LEVEL /* helps some more when too much has been included already */
346# endif
347
340# if !CORO_LOSER 348# if !CORO_LOSER
341# include <unistd.h> 349# include <unistd.h>
342# endif 350# endif
343 351
344/* solaris is hopelessly borked, it expands _XOPEN_UNIX to nothing */ 352/* solaris is hopelessly borked, it expands _XOPEN_UNIX to nothing */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines