Explorar el Código

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

Nick Mathewson hace 12 años
padre
commit
757725ffde
Se han modificado 1 ficheros con 1 adiciones y 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