diff options
author | mnc <mnc@d7303112-9cec-0310-bdd2-e83a94d6c2b6> | 2007-02-20 05:02:21 +0000 |
---|---|---|
committer | mnc <mnc@d7303112-9cec-0310-bdd2-e83a94d6c2b6> | 2007-02-20 05:02:21 +0000 |
commit | a768a783e19d4a876b300f0a05d78137678e4025 (patch) | |
tree | 49dd347b1542eab24df4d9ed2d6b38a616398f1a /include | |
parent | 484307dd2afc7abf1ffc0433301b154edb51d6f8 (diff) | |
download | open-iscsi-a768a783e19d4a876b300f0a05d78137678e4025.tar.gz |
compile fix ups from endien patch
git-svn-id: svn://svn.berlios.de/open-iscsi@773 d7303112-9cec-0310-bdd2-e83a94d6c2b6
Diffstat (limited to 'include')
-rw-r--r-- | include/iscsi_proto.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/iscsi_proto.h b/include/iscsi_proto.h index 4a44278..e89ce34 100644 --- a/include/iscsi_proto.h +++ b/include/iscsi_proto.h @@ -40,6 +40,21 @@ } #define zero_data(p) {p[0]=0;p[1]=0;p[2]=0;} +/* + * If running svn modules we may need to define these. + * This should not go upstream since this is already properly defined there + */ +#ifdef __CHECKER__ +#define __bitwise__ __attribute__((bitwise)) +#else +#define __bitwise__ +#endif +#ifdef __CHECK_ENDIAN__ +#define __bitwise __bitwise__ +#else +#define __bitwise +#endif + /* initiator tags; opaque for target */ typedef uint32_t __bitwise__ itt_t; /* below makes sense only for initiator that created this tag */ |