When trying to duplicate the above I get the following error, what macro do I need to define and how.…