add some fragments of portability macros for later use.

Signed-off-by: Edward O'Callaghan <victoredwardocallaghan@gmail.com>