OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [branches/] [oc/] [gdb-5.0/] [readline/] [posixjmp.h] - Rev 106

Go to most recent revision | Compare with Previous | Blame | View Log

/* posixjmp.h -- wrapper for setjmp.h with changes for POSIX systems. */
 
#ifndef _POSIXJMP_H_
#define _POSIXJMP_H_
 
#include <setjmp.h>
 
/* This *must* be included *after* config.h */
 
#if defined (HAVE_POSIX_SIGSETJMP)
#  define procenv_t	sigjmp_buf
#  if !defined (__OPENNT)
#    undef setjmp
#    define setjmp(x)	sigsetjmp((x), 1)
#    undef longjmp
#    define longjmp(x, n)	siglongjmp((x), (n))
#  endif /* !__OPENNT */
#else
#  define procenv_t	jmp_buf
#endif
 
#endif /* _POSIXJMP_H_ */
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.