1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-25 16:13:17 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=189293

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. */