diff options
author | George Hazan <ghazan@miranda.im> | 2016-10-11 21:05:12 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2016-10-11 21:05:12 +0300 |
commit | b0f3e30460fc26ef4fe59bc161b0fddd8eeb9a08 (patch) | |
tree | cbf0676fc37229beb184b1858efd0147c7e0935d /tools/_deprecated/Yahoo/src/libyahoo2/config.h | |
parent | f07689fbf39405ef5a3e3dafb340c9c8f74897f6 (diff) |
Yahoo & YahooGroups plugins moved to _deprecated
Diffstat (limited to 'tools/_deprecated/Yahoo/src/libyahoo2/config.h')
-rw-r--r-- | tools/_deprecated/Yahoo/src/libyahoo2/config.h | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/tools/_deprecated/Yahoo/src/libyahoo2/config.h b/tools/_deprecated/Yahoo/src/libyahoo2/config.h new file mode 100644 index 0000000000..4b776e5447 --- /dev/null +++ b/tools/_deprecated/Yahoo/src/libyahoo2/config.h @@ -0,0 +1,52 @@ +/*
+ * $Id: config.h 9339 2009-04-05 00:15:32Z gena01 $
+ *
+ * myYahoo Miranda Plugin
+ *
+ * Authors: Gennady Feldman (aka Gena01)
+ * Laurent Marechal (aka Peorth)
+ *
+ * This code is under GPL and is based on AIM, MSN and Miranda source code.
+ * I want to thank Robert Rainwater and George Hazan for their code and support
+ * and for answering some of my questions during development of this plugin.
+ */
+
+#ifndef _YAHOO_CONFIG_H_
+#define _YAHOO_CONFIG_H_
+
+#define HAVE_STRING_H 1
+#define STDC_HEADERS 1
+#define HAVE_STRCHR 1
+#define HAVE_MEMCPY 1
+
+#define PACKAGE "libyahoo2"
+#define VERSION "0.7.5"
+
+#include <windows.h>
+#include <stdio.h>
+
+#ifdef _MSC_VER
+
+#define strncasecmp strnicmp
+
+#define wsnprintf _wsnprintf
+#define snprintf _snprintf
+#define vsnprintf _vsnprintf
+
+#endif
+
+#define USE_STRUCT_CALLBACKS
+
+#define write(a,b,c) send(a,b,c,0)
+#define read(a,b,c) recv(a,b,c,0)
+
+#include <newpluginapi.h>
+#include <m_netlib.h>
+#define close(a) Netlib_CloseHandle((HANDLE)a)
+
+/*
+ * Need to handle MD5 through Miranda. otherwise just include some md5.h implementation instead
+ */
+#include <m_utils.h>
+
+#endif
|