aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/compiler.h
diff options
context:
space:
mode:
authorMichael Brown <mcb30@etherboot.org>2007-07-24 17:11:31 +0100
committerMichael Brown <mcb30@etherboot.org>2007-07-24 17:11:31 +0100
commit9aa61ad5a26e04493a38bf4f9b6bd1228fef7a79 (patch)
tree3b86aec2b1cc194dca76178c0415c131e8a92b1b /src/include/compiler.h
parentf0acd8d7a7d885f218509ef048004e0897a31573 (diff)
downloadipxe-9aa61ad5a26e04493a38bf4f9b6bd1228fef7a79.tar.gz
Add per-file error identifiers
Diffstat (limited to 'src/include/compiler.h')
-rw-r--r--src/include/compiler.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/compiler.h b/src/include/compiler.h
index 18ca75c96..376936d0e 100644
--- a/src/include/compiler.h
+++ b/src/include/compiler.h
@@ -267,6 +267,9 @@ extern void dbg_hex_dump_da ( unsigned long dispaddr,
#define NDEBUG
#endif
+/** Select file identifier for errno.h (if used) */
+#define ERRFILE PREFIX_OBJECT ( ERRFILE_ )
+
/** Declare a data structure as packed. */
#define PACKED __attribute__ (( packed ))