diff --git a/sdk/lib/cmlib/cmlib.h b/sdk/lib/cmlib/cmlib.h index fd6de8c75db..5421f860fd5 100644 --- a/sdk/lib/cmlib/cmlib.h +++ b/sdk/lib/cmlib/cmlib.h @@ -149,8 +149,6 @@ } SECURITY_DESCRIPTOR_RELATIVE, *PISECURITY_DESCRIPTOR_RELATIVE; #define CMLTRACE(x, ...) - #undef PAGED_CODE - #define PAGED_CODE() #define REGISTRY_ERROR ((ULONG)0x00000051L) #else @@ -179,6 +177,10 @@ #define _WINNLS_ #endif +#if defined(CMLIB_HOST) || defined(_BLDR_) + #undef PAGED_CODE + #define PAGED_CODE() +#endif // // These define the Debug Masks Supported