Skip to content

Commit 43867b1

Browse files
committed
fix: possible redefinition of macro and typo
1 parent 2b155b6 commit 43867b1

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

include/webui_extensions.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ extern "C" {
2424
* - In other cases, as long as the webui.c file is not included directly,
2525
* you might need to define this macro in your compiler settings
2626
*/
27-
#define WEBUI_EXTENSIONS_API
27+
#ifndef WEBUI_EXTENSION_API
28+
#define WEBUI_EXTENSION_API
29+
#endif
2830

2931
#include <stdbool.h>
3032
#include <stddef.h>

0 commit comments

Comments
 (0)