From 8029ed0182fb7f68cf4410a0cb54a949c8f2b383 Mon Sep 17 00:00:00 2001 From: NicJA Date: Mon, 27 Feb 2017 17:20:40 +0000 Subject: [PATCH] move the defines to the resource header and include that where necessary. git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@53933 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- compiler/include/resources/execlock.h | 5 +++++ rom/exec/exec_locks.h | 6 +----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/compiler/include/resources/execlock.h b/compiler/include/resources/execlock.h index a1e3bd8b71..0cd401a8d3 100644 --- a/compiler/include/resources/execlock.h +++ b/compiler/include/resources/execlock.h @@ -6,4 +6,9 @@ #ifndef RESOURCES_EXECLOCK_H #define RESOURCES_EXECLOCK_H +#define LOCKB_DISABLE 0 +#define LOCKB_FORBID 1 +#define LOCKF_DISABLE (1 << LOCKB_DISABLE) +#define LOCKF_FORBID (1 << LOCKB_FORBID) + #endif /* !RESOURCES_EXECLOCK_H */ \ No newline at end of file diff --git a/rom/exec/exec_locks.h b/rom/exec/exec_locks.h index b133accf8f..5d9a5a5d9c 100644 --- a/rom/exec/exec_locks.h +++ b/rom/exec/exec_locks.h @@ -8,14 +8,10 @@ #include #include +#include #include "exec_debug.h" #include "exec_intern.h" -#define LOCKB_DISABLE 0 -#define LOCKB_FORBID 1 -#define LOCKF_DISABLE (1 << LOCKB_DISABLE) -#define LOCKF_FORBID (1 << LOCKB_FORBID) - /* LockBase is not even a resource, just something similar to AROSSupportBase, however, it can be opened using OpenResource() -- 2.11.4.GIT