atnds_cdecl.h
1/* Emacs mode: -*- C -*- */
2
3/* Copyright (c) 2005-2009, Isode Limited, London, England.
4 * All rights reserved.
5 *
6 * Acquisition and use of this software and related materials for any
7 * purpose requires a written licence agreement from Isode Limited,
8 * or a written licence from an organisation licenced by Isode Limited
9 * to grant such a licence.
10 *
11 */
12
13/*
14 * atnds_cdecl.h
15 *
16 */
17
18/*
19 *
20 * @VERSION@
21 */
22
23#ifndef _ATNDS_CDECL_H
24#define _ATNDS_CDECL_H
25
26#ifdef __cplusplus
27
28 #define ATNDS_CDECL extern "C"
29
30#else
31
32 #define ATNDS_CDECL extern
33
34#endif
35
36#ifndef IC_DLLEXPORT
37#ifdef _WIN32
38#define IC_DLLEXPORT __declspec(dllexport)
39#define IC_DLLIMPORT __declspec(dllimport)
40#else
41#define IC_DLLEXPORT
42#define IC_DLLIMPORT
43#endif
44#endif
45
46# ifdef ATNDS
47# define LIBATNDS_CDECL ATNDS_CDECL IC_DLLEXPORT
48# else
49# define LIBATNDS_CDECL ATNDS_CDECL IC_DLLIMPORT
50# endif
51
52#endif /* _ATNDS_CDECL_H */

All rights reserved © 2002 - 2024 Isode Ltd.