summaryrefslogtreecommitdiffstats
path: root/src/include/compiler.h
diff options
context:
space:
mode:
authorMichael Brown2007-07-24 18:11:31 +0200
committerMichael Brown2007-07-24 18:11:31 +0200
commit9aa61ad5a26e04493a38bf4f9b6bd1228fef7a79 (patch)
tree3b86aec2b1cc194dca76178c0415c131e8a92b1b /src/include/compiler.h
parentDefine -DOBJECT when generating Makefile rules, for consistency. (diff)
downloadipxe-9aa61ad5a26e04493a38bf4f9b6bd1228fef7a79.tar.gz
ipxe-9aa61ad5a26e04493a38bf4f9b6bd1228fef7a79.tar.xz
ipxe-9aa61ad5a26e04493a38bf4f9b6bd1228fef7a79.zip
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 18ca75c9..376936d0 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 ))