bugfix for ifdefs
Merge pull request #7 from da2ce7/master

bugfix for ifdefs