Is there a header file for HEX define?

I am using IDE v1.8.9 under Ubuntu 19.04 to test the MXChip AZ3166 board. I have installed its package, select the right board/port pair. But while compiling the example code, ScanNetworks, I have run into a newbie issue by encountering the following message during compilation:

For the following statement:

  Serial.print(mac[5], HEX);

I encounter the following error message:

Build options changed, rebuilding all
/home/reza/Documents/IoT/Arduino/MXCHIP AZ3166/WiFi/ScanNetworks/ScanNetworks.ino: In function 'void printMacAddress()':
ScanNetworks:51:24: error: 'HEX' was not declared in this scope
   Serial.print(mac[5], HEX);
                        ^~~
exit status 1
'HEX' was not declared in this scope

Isn't HEX supposed to be part of the default/standard declarations and does not have to be defined explicitly? At least that used to be my understanding with respect this term as well as DEC and OCT. What is my mistake, please?

Thanks.

It should be defined in Print.h:

#define HEX 16

MXChip AZ3166 board

has it's own core doesn't it ?

The board's own SDK has already defined DEC as something completely different, so these have been renamed:

#define BASE_DEC 10
#define BASE_HEX 16
#define BASE_OCT 8
#define BASE_BIN 2