Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7773237

Browse files
authored
webserver: add define WEBSERVER_HAS_HOOK when ::addHook() is present (#7515)
This allows conditional compilation for external libraries
1 parentfc2426a commit7773237

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎libraries/ESP8266WebServer/src/ESP8266WebServer.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ enum HTTPUploadStatus { UPLOAD_FILE_START, UPLOAD_FILE_WRITE, UPLOAD_FILE_END,
5050
enum HTTPClientStatus { HC_NONE, HC_WAIT_READ, HC_WAIT_CLOSE };
5151
enum HTTPAuthMethod { BASIC_AUTH, DIGEST_AUTH };
5252

53+
#defineWEBSERVER_HAS_HOOK1
54+
5355
#defineHTTP_DOWNLOAD_UNIT_SIZE1460
5456

5557
#ifndef HTTP_UPLOAD_BUFLEN

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp