haze: fix duplicate-macro warnings
haze was including both `<switch.h>` and `vapours/types.hpp` which both
define `R_SUCCEEDED` and `R_FAILED`, producing compiler warnings.

The intent is that `vapours/types.hpp` only gets included when targeting
not-Switch and/or not-EL0.  But the check didn't account for
Troposphère.  Fix that.
1 parent 8b8e443 commit 4237f52ee250c6b757ed3ff204a2e1a2636fc720
@comex comex authored on 8 Aug
SciresM committed on 8 Aug
Showing 2 changed files
View
libraries/libvapours/include/vapours/includes.hpp
View
troposphere/haze/include/haze/common.hpp