Explorar o código

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

Nick Mathewson %!s(int64=12) %!d(string=hai) anos
pai
achega
757725ffde
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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