Rename macro DEBUG to SGX_DEBUG.

This fixes LINT kernel build.

Reported by:	lwhsu
Sponsored by:	DARPA, AFRL
This commit is contained in:
br 2017-08-16 13:44:46 +00:00
parent 84d82b383a
commit 4b4a278df8

View File

@ -154,10 +154,10 @@ __FBSDID("$FreeBSD$");
#include <amd64/sgx/sgxvar.h>
#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, ...)