Ignore:
Timestamp:
Oct 1, 2011, 9:49:54 PM (14 years ago)
Author:
bird
Message:

Applied modified patches for Haiku support from Mike Smith.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kash/error.h

    r2298 r2546  
    6060 */
    6161
    62 #include <setjmp.h>
     62#ifndef __HAIKU__
     63# include <setjmp.h>
     64#else
     65# include <posix/setjmp.h> /** @todo silly */
     66#endif
    6367
    6468struct jmploc {
     
    121125 */
    122126
    123 #if defined(BSD) && !defined(__SVR4) && !defined(__GLIBC__) && !defined(__KLIBC__) && !defined(_MSC_VER)
     127#if defined(BSD) && !defined(__SVR4) && !defined(__GLIBC__) \
     128  && !defined(__KLIBC__) && !defined(_MSC_VER) && !defined(__HAIKU__)
    124129#define setjmp(jmploc)  _setjmp(jmploc)
    125130#define longjmp(jmploc, val)    _longjmp(jmploc, val)
Note: See TracChangeset for help on using the changeset viewer.