Explorar o código

Use MG_ prefix for all symbols in .h and declare old symbols without prefix as obsolete

Bernhard Lehner %!s(int64=5) %!d(string=hai) anos
pai
achega
97693fdc27
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      include/civetweb.h

+ 2 - 0
include/civetweb.h

@@ -1425,7 +1425,9 @@ mg_connect_client_secure(const struct mg_client_options *client_options,
                          size_t error_buffer_size);
 
 
+#if defined(MG_LEGACY_INTERFACE) /* 2019-11-02 */
 enum { TIMEOUT_INFINITE = -1 };
+#endif
 enum { MG_TIMEOUT_INFINITE = -1 };
 
 /* Wait for a response from the server