Check if compiler symbols are defined before using them
Check if compiler symbols are defined before using them

If we don't do this, projects using `-Werror=undef` will break.

endlessm/glib,endlessm/glib,endlessm/glib,endlessm/glib,endlessm/glib