Skip to content

Commit

Permalink
mdns: #ifndef/#define/#endif (#7615)
Browse files Browse the repository at this point in the history
  • Loading branch information
d-a-v authored Sep 30, 2020
1 parent cc042b9 commit 37ef41c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions libraries/ESP8266mDNS/src/ESP8266mDNS.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@
*/

#ifndef __ESP8266MDNS_H
#define __ESP8266MDNS_H

enum class MDNSApiVersion { LEA, LEAv2 };

#include "LEAmDNS.h" // LEA
Expand All @@ -57,3 +60,5 @@ using MDNSResponder = esp8266::MDNSImplementation::MDNSResponder;

extern MDNSResponder MDNS;
#endif

#endif // __ESP8266MDNS_H

0 comments on commit 37ef41c

Please sign in to comment.