Commit 4303ab55 authored by Martti Mela's avatar Martti Mela

sres_config.h: added Open C platform support

darcs-hash:20070430114817-1b897-1c38e774211419832f5da02e39d2b7423f0889a5.gz
parent 2d4e126e
......@@ -50,13 +50,24 @@
#else
#define SRESPUBFUN __declspec(dllimport)
#endif
#elif defined(SYMBIAN) && !defined(LIBSRES_STATIC)
/* Open C platform */
#undef SRESPUBFUN
#if defined(IN_LIBSOFIA_SRES)
#define SRESPUBFUN __declspec(dllexport)
#else
#define SRESPUBFUN __declspec(dllimport)
#endif
#endif
/* ---------------------------------------------------------------------- */
/* Types required by Win32/64 */
#if defined(_WIN32)
#if defined (SYMBIAN)
/** Socket descriptor. @since New in @VERSION_1_12_2. */
typedef int sres_socket_t;
#elif defined(_WIN32)
typedef SOCKET sres_socket_t;
#else
/** Socket descriptor. @since New in @VERSION_1_12_2. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment