We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b155b6 commit e89ac84Copy full SHA for e89ac84
1 file changed
include/webui_extensions.h
@@ -24,7 +24,14 @@ extern "C" {
24
* - In other cases, as long as the webui.c file is not included directly,
25
* you might need to define this macro in your compiler settings
26
*/
27
-#define WEBUI_EXTENSIONS_API
+#ifndef WEBUI_EXTENSION_API
28
+#define WEBUI_EXTENSION_API
29
+#endif
30
+
31
+#ifndef WEBUI_EXPORT
32
+ #define WEBUI_EXPORT
33
+ #warning "WEBUI_EXPORT not defined; Please include webui.h before webui_extensions.h"
34
35
36
#include <stdbool.h>
37
#include <stddef.h>
0 commit comments