removed ifdef because this file is specific to the nuttx platform
added header file with platformspecific definitions
removed platform specific includes
removed platform specificness
use px4_defines header to distinguish platform