Prevent duplicated function declaration.
Merge pull request #39 from ChrisKitching/dodgymacros

Prevent duplicated function declaration.