added non arc code with #ifdef

Signed-off-by: Dominik Pich <Dominik@pich.info>