build/BeBuild.h: Throw an error if the compatibility headers are not included.

If this triggers, it means something is using the "build" errors while
the build system thinks it is not, which is always an error. Nothing
triggers this at present, but some subtle bugs in the build system
a while back would have been caught by this.
This commit is contained in:
Augustin Cavalier 2019-03-26 18:59:42 -04:00
parent 1e4172254d
commit d15fda2c7e

View File

@ -1 +1,5 @@
#if !defined(BEOS_BUILD_COMPATIBILITY_H) && !defined(HAIKU_BUILD_COMPATIBILITY_H)
# error "Using build headers without compatibility headers, something is wrong!"
#endif
#include <../os/BeBuild.h>