Forráskód Böngészése

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

Bernhard Lehner 5 éve
szülő
commit
97693fdc27
1 módosított fájl, 2 hozzáadás és 0 törlés
  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