Merge r272 from libarchive.googlecode.com: Fix building on MSVC6.

This commit is contained in:
Tim Kientzle 2009-03-03 03:28:09 +00:00
parent 4c66e4b64b
commit 80bb6bf259

View File

@ -41,8 +41,10 @@
* - SGI MIPSpro
* - Microsoft Visual C++ 6.0 (supposedly newer versions too)
*/
#if defined(__WATCOMC__) || defined(__sgi) || defined(_MSC_VER)
#if defined(__WATCOMC__) || defined(__sgi)
#define inline
#elif defined(_MSC_VER)
#define inline __inline
#endif
/* Alignment-agnostic encode/decode bytestream to/from little/big endian. */