In this post Error : Missing '{' in 'Enum' - #4 by TheJamsh user “TheJamsh” said that “Enumerations don’t/can’t be tagged for DLL export. You can use them in other modules without that macro anyway”.
So try and remove the modulename macro and check if your include path is precise enough. If you are referencing the EWallEntryType enum from another module, try this:
#include "Locomotion/[precise folder path]/WallEntryType.h