Ignore:
Timestamp:
Oct 10, 2004, 12:54:06 PM (21 years ago)
Author:
bird
Message:

Hack to make it build on backlevel LIBC.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/include/InnoTekLIBC/sharedpm.h

    • Property cvs2svn:cvs-rev changed from 1.8 to 1.9
    r1571 r1572  
    3030#include <sys/types.h>
    3131#include <sys/signal.h>
     32
     33#ifndef SI_MESGQ                        /* temporary hack */
     34typedef union sigval
     35{
     36    int     sigval_int;
     37    void   *sigval_ptr;
     38} sigval_t;
     39
     40typedef struct __siginfo
     41{
     42    /** Signal number. */
     43    int             si_signo;
     44    /** Associated errno. */
     45    int             si_errno;
     46    /** Signal code. (See SI_* and FPE_* macros.) */
     47    int             si_code;
     48    /** Timestamp when the signal was generated - LIBC extension. */
     49    unsigned        si_timestamp;
     50    /** Process sending the signal. */
     51    __pid_t         si_pid;
     52    /** Thread sending the signal - LIBC extension. */
     53    unsigned        si_tid;
     54    /** User sending the signal (ruid). (Usually 0 for OS/2) */
     55    __uid_t         si_uid;
     56    /** Exit value. (SIGCHLD) */
     57    int             si_status;
     58    /** Pointer to the faulting instruction or memory reference. (SIGSEGV, SIGILL, SIGFPE, SIGBUS) */
     59    void           *si_addr;
     60    /** Signal value. */
     61    union sigval    si_value;
     62    /** Band event for SIGPOLL. */
     63    long            si_band;
     64    /** Filehandle for SIGPOLL. */
     65    int             si_fd;
     66    /** Reserve a little bit for future usage. */
     67    unsigned        auReserved[4];
     68} siginfo_t;
     69#endif
    3270
    3371__BEGIN_DECLS
Note: See TracChangeset for help on using the changeset viewer.