Skip to content

Commit e5d7b20

Browse files
committed
Remove webserver_h check
1 parent a77aeaf commit e5d7b20

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/ESPAsyncWebServer.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,8 @@ extern inline WebRequestMethodComposite operator|(WebRequestMethod l, WebRequest
112112
return static_cast<WebRequestMethodComposite>(l) | r;
113113
};
114114

115-
#if !defined(ASYNCWEBSERVER_NO_GLOBAL_HTTP_METHODS) && !defined(WEBSERVER_H)
115+
#if !defined(ASYNCWEBSERVER_NO_GLOBAL_HTTP_METHODS)
116116
// Import the method enum values to the global namespace
117-
// This will collide with some <webserver.h> values on some platforms;
118-
// for historical reasons they are assumed to be compatible.
119117
using namespace AsyncWebRequestMethod;
120118
#endif
121119

0 commit comments

Comments
 (0)