X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;ds=inline;f=mono%2Fmini%2Fdeclsec.h;h=fa9db61c8b0648b67e88956bc1dc6bcef43f7ae6;hb=8f09dad4353bb75afebf96ad58d08f7e7f3bf56d;hp=d90ab84e13074b210669d2aa739d47ccf165cf1d;hpb=7015b812166d0992223b5dc4421deab637500265;p=mono.git diff --git a/mono/mini/declsec.h b/mono/mini/declsec.h index d90ab84e130..fa9db61c8b0 100644 --- a/mono/mini/declsec.h +++ b/mono/mini/declsec.h @@ -24,10 +24,6 @@ /* Definitions */ -#define MONO_SECMAN_FLAG_INIT(x) (x & 0x2) -#define MONO_SECMAN_FLAG_GET_VALUE(x) (x & 0x1) -#define MONO_SECMAN_FLAG_SET_VALUE(x,y) do { x = ((y) ? 0x3 : 0x2); } while (0) - #define MONO_CAS_INITIAL_STACK_SIZE 6 @@ -64,4 +60,10 @@ MonoSecurityFrame* mono_declsec_create_frame (MonoDomain *domain, MonoJitInfo *j guint32 mono_declsec_linkdemand (MonoDomain *domain, MonoMethod *caller, MonoMethod *callee) MONO_INTERNAL; +#ifndef DISABLE_SECURITY +#define mono_security_method_has_declsec(method) (mono_method_has_declsec(method)) +#else +#define mono_security_method_has_declsec(method) (FALSE) +#endif + #endif /* _MONO_MINI_DECLSEC_H_ */