Rename macro DEBUG to SGX_DEBUG.
This fixes LINT kernel build. Reported by: lwhsu Sponsored by: DARPA, AFRL
This commit is contained in:
parent
84d82b383a
commit
4b4a278df8
@ -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, ...)
|
||||
|
Loading…
Reference in New Issue
Block a user