summaryrefslogtreecommitdiff
path: root/protocols/Gadu-Gadu/src/libgadu/win32.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Gadu-Gadu/src/libgadu/win32.h')
-rw-r--r--protocols/Gadu-Gadu/src/libgadu/win32.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/protocols/Gadu-Gadu/src/libgadu/win32.h b/protocols/Gadu-Gadu/src/libgadu/win32.h
index d432a359ac..fdc5017279 100644
--- a/protocols/Gadu-Gadu/src/libgadu/win32.h
+++ b/protocols/Gadu-Gadu/src/libgadu/win32.h
@@ -59,10 +59,11 @@
#define WNOHANG WHOHANG
#define SHUT_RDWR 2
-/* Defined in gg.c custom error reporting function */
+/* Defined in gg.c custom error reporting function, override only at \libgadu\ dir */
+#define GG_CONFIG_MIRANDA
#ifdef GG_CONFIG_MIRANDA
-char *ws_strerror(int code);
-#define strerror(x) ws_strerror(x)
+char *as_strerror(int code);
+#define strerror(x) as_strerror(x)
#endif
#define fork() (-1)