summaryrefslogtreecommitdiff
path: root/src/pkg/runtime/windows/defs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/runtime/windows/defs.c')
-rw-r--r--src/pkg/runtime/windows/defs.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/pkg/runtime/windows/defs.c b/src/pkg/runtime/windows/defs.c
new file mode 100644
index 000000000..db5f1400e
--- /dev/null
+++ b/src/pkg/runtime/windows/defs.c
@@ -0,0 +1,13 @@
+// Copyright 2009 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+enum {
+ $PROT_NONE = 0,
+ $PROT_READ = 1,
+ $PROT_WRITE = 2,
+ $PROT_EXEC = 4,
+
+ $MAP_ANON = 1,
+ $MAP_PRIVATE = 2,
+};