Added support for zip files.
[tangerine.git] / arch / all-mingw32 / exec / disable.c
blobdda13aa4ea1e0999df3b12c4f6fe7903afc17393
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: i386unix version of Disable()
6 Lang: english
7 */
9 #include <exec/tasks.h>
10 #include <exec/execbase.h>
11 #include <aros/libcall.h>
12 #include <aros/atomic.h>
13 #include <proto/exec.h>
14 #include <proto/kernel.h>
16 #undef Exec
17 #ifdef UseExecstubs
18 # define Exec _Exec
19 #endif
21 AROS_LH0(void, Disable,
22 struct ExecBase *, SysBase, 20, Exec)
24 #undef Exec
25 AROS_LIBFUNC_INIT
27 /* Georg Steger */
28 if (KernelBase)
29 KrnCli();
31 AROS_ATOMIC_INC(SysBase->IDNestCnt);
33 AROS_LIBFUNC_EXIT