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// DLLEXPORT: -- generated by dllexports.py
37#if !defined(IC_DLLEXPORT)
38# if defined(_WIN32)
39# define IC_DLLEXPORT __declspec(dllexport)
40# define IC_DLLIMPORT __declspec(dllimport)
41# else
42# if defined(USE_UNIX_VISIBILITY)
43# define IC_DLLEXPORT __attribute__((visibility("default")))
44# else
45# define IC_DLLEXPORT
46# endif
47# define IC_DLLIMPORT IC_DLLEXPORT
48# endif
49#endif
50
51# ifdef ATNDS
52# define LIBATNDS_CDECL ATNDS_CDECL IC_DLLEXPORT
53# else
54# define LIBATNDS_CDECL ATNDS_CDECL IC_DLLIMPORT
55# endif
56
57#endif /* _ATNDS_CDECL_H */

All rights reserved © 2002 - 2024 Isode Ltd.