~ubuntu-branches/ubuntu/oneiric/ecasound2.2/oneiric

« back to all changes in this revision

Viewing changes to readline-4.0/posixjmp.h

  • Committer: Bazaar Package Importer
  • Author(s): Junichi Uekawa
  • Date: 2008-03-23 21:42:49 UTC
  • mfrom: (3.1.6 hardy)
  • Revision ID: james.westby@ubuntu.com-20080323214249-evlfv3y1o8q747la
Tags: 2.4.6.1-2
* Bug fix: "FTBFS with GCC 4.3: missing #includes", thanks to Martin
  Michlmayr (Closes: #454890).
- 13_gcc4: updated

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* posixjmp.h -- wrapper for setjmp.h with changes for POSIX systems. */
2
 
 
3
 
#ifndef _POSIXJMP_H_
4
 
#define _POSIXJMP_H_
5
 
 
6
 
#include <setjmp.h>
7
 
 
8
 
/* This *must* be included *after* config.h */
9
 
 
10
 
#if defined (HAVE_POSIX_SIGSETJMP)
11
 
#  define procenv_t     sigjmp_buf
12
 
#  if !defined (__OPENNT)
13
 
#    undef setjmp
14
 
#    define setjmp(x)   sigsetjmp((x), 1)
15
 
#    undef longjmp
16
 
#    define longjmp(x, n)       siglongjmp((x), (n))
17
 
#  endif /* !__OPENNT */
18
 
#else
19
 
#  define procenv_t     jmp_buf
20
 
#endif
21
 
 
22
 
#endif /* _POSIXJMP_H_ */