summaryrefslogtreecommitdiff
path: root/src/pkg/runtime/os_dragonfly.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/runtime/os_dragonfly.h')
-rw-r--r--src/pkg/runtime/os_dragonfly.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/pkg/runtime/os_dragonfly.h b/src/pkg/runtime/os_dragonfly.h
index 4fb71478b..389736a32 100644
--- a/src/pkg/runtime/os_dragonfly.h
+++ b/src/pkg/runtime/os_dragonfly.h
@@ -2,7 +2,6 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-#define SS_DISABLE 4
typedef byte* kevent_udata;
@@ -16,11 +15,13 @@ void runtime·unblocksignals(void);
void runtime·setitimer(int32, Itimerval*, Itimerval*);
int32 runtime·sysctl(uint32*, uint32, byte*, uintptr*, byte*, uintptr);
+enum {
+ NSIG = 33,
+ SI_USER = 0x10001,
+ SS_DISABLE = 4,
+ RLIMIT_AS = 10,
+};
-#define NSIG 33
-#define SI_USER 0x10001
-
-#define RLIMIT_AS 10
typedef struct Rlimit Rlimit;
struct Rlimit {
int64 rlim_cur;