Pragmas are compiler specific. Best to use both pragmas and ifndef