add preprogressor commands -> call function depending on platform