Skip to content

Commit

Permalink
Suppressed MACF warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
vit9696 committed Sep 8, 2016
1 parent bf3258b commit abc09f9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Common/kern_policy.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@
#include <sys/proc.h>

extern "C" {
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-W#warnings"
#include <security/mac_framework.h>
#include <security/mac_policy.h>
#pragma clang diagnostic pop
}

#include "kern_util.hpp"
Expand Down

0 comments on commit abc09f9

Please sign in to comment.