diff options
author | Patrick Monnerat <pm@datasphere.ch> | 2014-12-05 18:37:35 +0100 |
---|---|---|
committer | Patrick Monnerat <pm@datasphere.ch> | 2014-12-05 18:42:39 +0100 |
commit | e17220ffcb34d1d8cb504ca79f4523fcb8ffd68a (patch) | |
tree | 4ee63649cbd003eed440f7b9acb61a04e0832788 /lib/smb.h | |
parent | 9b0b9f209e11c7562761214e5cc6801b2bbbaf2e (diff) | |
download | curl-e17220ffcb34d1d8cb504ca79f4523fcb8ffd68a.tar.gz |
SMB: Fix big endian problems. Make it OS/400 aware.
Diffstat (limited to 'lib/smb.h')
-rw-r--r-- | lib/smb.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -49,7 +49,7 @@ struct smb_conn { */ #ifdef BUILDING_CURL_SMB_C -#ifdef _MSC_VER +#if defined(_MSC_VER) || defined(__ILEC400__) # define PACK # pragma pack(push) # pragma pack(1) @@ -250,7 +250,7 @@ struct smb_tree_disconnect { unsigned short byte_count; } PACK; -#ifdef _MSC_VER +#if defined(_MSC_VER) || defined(__ILEC400__) # pragma pack(pop) #endif |