summaryrefslogtreecommitdiffstats
path: root/src/include/compiler.h
diff options
context:
space:
mode:
authorMichael Brown2009-03-10 18:50:01 +0100
committerMichael Brown2009-03-26 08:27:19 +0100
commit1c67623e37dada045e9b5d1f5e19b414cc79c3e3 (patch)
tree6baaac3371a85232dbfe0faa5e7530eb76fa7413 /src/include/compiler.h
parent[3c90x] Remove src/drivers/3c90x.txt (diff)
downloadipxe-1c67623e37dada045e9b5d1f5e19b414cc79c3e3.tar.gz
ipxe-1c67623e37dada045e9b5d1f5e19b414cc79c3e3.tar.xz
ipxe-1c67623e37dada045e9b5d1f5e19b414cc79c3e3.zip
[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 889c2404..be3ce46f 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 )
/**