From 4b4a278df80945fa6e7fb7dfd5b72a3aa7c2e563 Mon Sep 17 00:00:00 2001 From: br Date: Wed, 16 Aug 2017 13:44:46 +0000 Subject: [PATCH] Rename macro DEBUG to SGX_DEBUG. This fixes LINT kernel build. Reported by: lwhsu Sponsored by: DARPA, AFRL --- sys/amd64/sgx/sgx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/amd64/sgx/sgx.c b/sys/amd64/sgx/sgx.c index 13fa15b5ea6a..fb40cb5582f7 100644 --- a/sys/amd64/sgx/sgx.c +++ b/sys/amd64/sgx/sgx.c @@ -154,10 +154,10 @@ __FBSDID("$FreeBSD$"); #include -#define DEBUG -#undef DEBUG +#define SGX_DEBUG +#undef SGX_DEBUG -#ifdef DEBUG +#ifdef SGX_DEBUG #define dprintf(fmt, ...) printf(fmt, ##__VA_ARGS__) #else #define dprintf(fmt, ...) -- 2.41.0