VirtualBox

Changeset 1784 in kBuild for trunk/src/kash/shtypes.h


Ignore:
Timestamp:
Sep 13, 2008 3:27:59 AM (16 years ago)
Author:
bird
Message:

kash: hacking.

File:
1 edited

Legend:

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

    r1286 r1784  
    3232#include <sys/types.h>
    3333#include <stdlib.h>
     34#ifndef _MSC_VER
     35# include <sys/signal.h>
     36#endif
    3437
    3538#ifdef _MSC_VER
     
    9699typedef struct shinstance shinstance;
    97100
     101#ifdef _MSC_VER
     102typedef uint32_t shsigset_t;
     103#else
     104typedef sigset_t shsigset_t;
    98105#endif
    99106
     107typedef void (*shsig_t)(shinstance *, int);
     108typedef struct shsigaction
     109{
     110    shsig_t     sh_handler;
     111    shsigset_t  sh_mask;
     112    int         sh_flags;
     113} shsigaction_t;
     114
     115#endif
     116
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette