瀏覽代碼

MSVC build issue: we use INLINE as the one that will magically work

Nick Mathewson 12 年之前
父節點
當前提交
757725ffde
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/or/buffers.c

+ 1 - 1
src/or/buffers.c

@@ -1011,7 +1011,7 @@ fetch_from_buf(char *string, size_t string_len, buf_t *buf)
 
 /** True iff the cell command <b>command</b> is one that implies a
  * variable-length cell in Tor link protocol <b>linkproto</b>. */
-static inline int
+static INLINE int
 cell_command_is_var_length(uint8_t command, int linkproto)
 {
   /* If linkproto is v2 (2), CELL_VERSIONS is the only variable-length cells