Remove cutting ifdef in template.c
Merge pull request #2981 from yebblies/templateifdef

[DDMD] Remove cutting ifdef in template.c