ソースを参照

Add a fix for the inline keyword on the osf os.

Bill Hoffman 15 年 前
コミット
92c082b1c9
1 ファイル変更1 行追加1 行削除
  1. 1 1
      Utilities/cmlibarchive/libarchive/archive_endian.h

+ 1 - 1
Utilities/cmlibarchive/libarchive/archive_endian.h

@@ -48,7 +48,7 @@
  */
 #if defined(__WATCOMC__) || defined(__sgi) || defined(__hpux) || defined(__BORLANDC__) || defined(__SUNPRO_C)
 #define inline
-#elif defined(_MSC_VER)
+#elif defined(_MSC_VER) || defined(__osf__)
 #define inline __inline
 #endif