ソースを参照

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

Bernhard Lehner 5 年 前
コミット
97693fdc27
1 ファイル変更2 行追加0 行削除
  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