diff options
author | Ondřej Surý <ondrej@sury.org> | 2011-02-18 09:50:58 +0100 |
---|---|---|
committer | Ondřej Surý <ondrej@sury.org> | 2011-02-18 09:53:27 +0100 |
commit | 91664defe0a75da15661a37a7f585b0c8523bf4e (patch) | |
tree | 8d7133037ce477c00ba0408d3f0892e0a8b5744d /src/pkg/runtime/windows/defs.c | |
parent | ac2d3c9eb73a2d23848c55c3171d8ff6dd0feed9 (diff) | |
download | golang-91664defe0a75da15661a37a7f585b0c8523bf4e.tar.gz |
Imported Upstream version 2011.02.15
Diffstat (limited to 'src/pkg/runtime/windows/defs.c')
-rw-r--r-- | src/pkg/runtime/windows/defs.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/pkg/runtime/windows/defs.c b/src/pkg/runtime/windows/defs.c index 5aac03c81..3b2824940 100644 --- a/src/pkg/runtime/windows/defs.c +++ b/src/pkg/runtime/windows/defs.c @@ -2,9 +2,11 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +#include <signal.h> #include <stdarg.h> #include <windef.h> #include <winbase.h> +#include <wincon.h> enum { $PROT_NONE = 0, @@ -15,6 +17,10 @@ enum { $MAP_ANON = 1, $MAP_PRIVATE = 2, + $SIGINT = SIGINT, + $CTRL_C_EVENT = CTRL_C_EVENT, + $CTRL_BREAK_EVENT = CTRL_BREAK_EVENT, + $EXCEPTION_ACCESS_VIOLATION = STATUS_ACCESS_VIOLATION, $EXCEPTION_BREAKPOINT = STATUS_BREAKPOINT, $EXCEPTION_FLT_DENORMAL_OPERAND = STATUS_FLOAT_DENORMAL_OPERAND, |