Loading...
Searching...
No Matches
sres_config.h
Go to the documentation of this file.
/*
* This file is part of the Sofia-SIP package
*
* Copyright (C) 2005 Nokia Corporation.
*
* Contact: Pekka Pessi <pekka.pessi@nokia-email.address.hidden>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
#ifndef SOFIA_RESOLV_SRES_CONFIG_H
#define SOFIA_RESOLV_SRES_CONFIG_H
/* ---------------------------------------------------------------------- */
/* Macros required by Win32 linkage */
#define SRESPUBFUN
#if defined(_WIN32) && !defined(LIBSRES_STATIC) && \
(defined(_MSC_VER) || defined(__BORLANDC__) || \
defined(__CYGWIN__) || defined(__MINGW32__))
/* Windows platform with MS/Borland/Cygwin/MinGW32 compiler */
#undef SRESPUBFUN
#if defined(IN_LIBSOFIA_SRES)
#define SRESPUBFUN __declspec(dllexport)
#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 (SYMBIAN)
typedef int sres_socket_t;
#elif defined(_WIN32)
typedef SOCKET sres_socket_t;
#else
typedef int sres_socket_t;
#endif
#endif /* SOFIA_RESOLV_SRES_CONFIG_H */
sres_socket_t
int sres_socket_t
Socket descriptor.
Definition sres_config.h:74

Sofia-SIP 1.12.11devel - Copyright (C) 2006 Nokia Corporation. All rights reserved. Licensed under the terms of the GNU Lesser General Public License.