We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77a71a1 commit 82b09acCopy full SHA for 82b09ac
1 file changed
src/lib/debug.c
@@ -1,6 +1,12 @@
1
#include "internal.h"
2
3
-ncloglevel_e loglevel = NCLOGLEVEL_SILENT;
+#ifndef __MINGW32__
4
+#define API __attribute__((visibility("default")))
5
+#else
6
+#define API __declspec(dllexport)
7
+#endif
8
+
9
+API ncloglevel_e loglevel = NCLOGLEVEL_SILENT;
10
11
void notcurses_debug(const notcurses* nc, FILE* debugfp){
12
fbuf f;
0 commit comments