ifdefs changed to #pragma once