aboutsummaryrefslogtreecommitdiffhomepage
path: root/midimonster.h
diff options
context:
space:
mode:
Diffstat (limited to 'midimonster.h')
-rw-r--r--midimonster.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/midimonster.h b/midimonster.h
index b05326c..3922b03 100644
--- a/midimonster.h
+++ b/midimonster.h
@@ -29,6 +29,11 @@
#define DBG(message)
#endif
+/* Stop compilation if the build system reports an error */
+#ifdef BUILD_ERROR
+ #error The build system reported an error, compilation stopped. Refer to the invocation for this compilation unit for more information.
+#endif
+
/* Pull in additional defines for non-linux platforms */
#include "portability.h"