Error while building Mynewt projects

Greetings
I went through getting started and tutorial guide of Mynewt.
I was successfully able to build the blinky example.
But while building Decawave apps as given on the website: https://github.com/Decawave/mynewt-dw1000-apps

I get the following error.

Building target targets/dwm1001_boot1
Compiling repos/apache-mynewt-core/boot/bootutil/src/bootutil_misc.c
Error: repos/apache-mynewt-core/boot/bootutil/src/image_ec.c:24:15: error: missing binary operator before token “(”
#if MYNEWT_VAL(BOOTUTIL_SIGN_EC)
^
image_ec.o: repos/apache-mynewt-core/boot/bootutil/src/image_ec.c
os/mynewt.h

Kindly help me out to solve this issue

Thanks & regards
Asmita