aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/compiler.h
diff options
context:
space:
mode:
authorMichael Brown <mcb30@etherboot.org>2009-03-10 17:50:01 +0000
committerMichael Brown <mcb30@etherboot.org>2009-03-26 07:27:19 +0000
commit1c67623e37dada045e9b5d1f5e19b414cc79c3e3 (patch)
tree6baaac3371a85232dbfe0faa5e7530eb76fa7413 /src/include/compiler.h
parent16aa435567ad6a82669864ba9c47ee534a03c296 (diff)
downloadipxe-1c67623e37dada045e9b5d1f5e19b414cc79c3e3.tar.gz
[build] Enable building with the Intel C compiler (icc)
Diffstat (limited to 'src/include/compiler.h')
-rw-r--r--src/include/compiler.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/compiler.h b/src/include/compiler.h
index 889c24047..be3ce46fc 100644
--- a/src/include/compiler.h
+++ b/src/include/compiler.h
@@ -212,7 +212,8 @@ int __debug_disable;
* @v len Length of data
*/
#define DBG_HD_IF( level, data, len ) do { \
- DBG_HDA_IF ( level, data, data, len ); \
+ const void *_data = data; \
+ DBG_HDA_IF ( level, _data, _data, len ); \
} while ( 0 )
/**