Changed ifndefs to pragma