Check if config.h passed correctly via gcc -include

This commit is contained in:
Martin Willi
2012-07-11 09:57:07 +02:00
parent 7115448529
commit 4c311ffb1f
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -67,6 +67,10 @@
#ifndef LIBRARY_H_
#define LIBRARY_H_
#ifndef CONFIG_H_INCLUDED
# error config.h not included, pass "-include [...]/config.h" to gcc
#endif
#include "printf_hook.h"
#include "utils.h"
#include "chunk.h"