mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-21 15:45:02 +00:00
Rename macro DEBUG to SGX_DEBUG.
This fixes LINT kernel build. Reported by: lwhsu Sponsored by: DARPA, AFRL
This commit is contained in:
parent
60e47915b4
commit
7dea76609b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=322578
@ -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