summaryrefslogtreecommitdiffstats
path: root/modules/graceful/graceful_windows.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/graceful/graceful_windows.go')
-rw-r--r--modules/graceful/graceful_windows.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/graceful/graceful_windows.go b/modules/graceful/graceful_windows.go
new file mode 100644
index 0000000000..753db87133
--- /dev/null
+++ b/modules/graceful/graceful_windows.go
@@ -0,0 +1,11 @@
+// +build windows
+
+// Copyright 2019 The Gitea Authors. All rights reserved.
+// Use of this source code is governed by a MIT-style
+// license that can be found in the LICENSE file.
+// This code is heavily inspired by the archived gofacebook/gracenet/net.go handler
+
+package graceful
+
+// This file contains shims for windows builds
+const IsChild = false