libc: Add SIGINT define
This commit is contained in:
parent
fcf191aa7a
commit
c8a37eaf70
@ -1,7 +1,9 @@
|
||||
#ifndef _SIGNAL_H
|
||||
#define _SIGNAL_H
|
||||
|
||||
typedef int sig_atomic_t; // FIXME: Implement signals (I'm trying to build bc, this header is only to satisfy it) and
|
||||
// use a proper atomic integer type.
|
||||
typedef int sig_atomic_t; // On the x86, writes to aligned 32-bit and 64-bit integers are always atomic. (Or that's what
|
||||
// I understood)
|
||||
|
||||
#define SIGINT 1 // Not implemented.
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user