Fixes Issue 9676 - Deprecated declarations should be wrapped in
$(DEPRECATED) macro.
Merge pull request #1740 from AndrejMitrovic/Fix9676

Issue 9676 - Deprecated declarations should be wrapped in $(DEPRECATED) macro.