atnds_cdecl.h

00001 /* Emacs mode: -*- C -*- */
00002 
00003 /*  Copyright (c) 2005, Isode Limited, London, England.
00004  *  All rights reserved.
00005  *                                                                       
00006  *  Acquisition and use of this software and related materials for any      
00007  *  purpose requires a written licence agreement from Isode Limited,
00008  *  or a written licence from an organisation licenced by Isode Limited
00009  *  to grant such a licence.
00010  *
00011  */
00012 
00013 /*
00014  * atnds_cdecl.h
00015  *
00016  */
00017 
00018 /* $RCSfile: atnds_cdecl.h,v $ $Revision: 1.2 $ $Date: 2005/05/16 14:51:58 $ $State: Exp $
00019  *
00020  * $Log: atnds_cdecl.h,v $
00021  * Revision 1.2  2005/05/16 14:51:58  dsm
00022  * T050516P - Remove references to Isode internal header files.
00023  *
00024  * Revision 1.1  2005/05/13 10:49:48  dsm
00025  * T050513C - Initial revision.
00026  *
00027  *
00028  *
00029  */
00030 
00031 #ifndef _ATNDS_CDECL_H
00032 #define _ATNDS_CDECL_H
00033 
00034 #ifdef __cplusplus
00035 
00036  #define ATNDS_CDECL extern "C" 
00037  #define ATNDS_CSPEC extern "C"
00038  #define ATNDS_CTYPE "C"
00039 
00040 #else
00041 
00042  #define ATNDS_CDECL extern
00043  #define ATNDS_CSPEC
00044  #define ATNDS_CTYPE
00045 
00046 #endif
00047 
00048 #ifdef _WIN32
00049 
00050 # ifdef ATNDS
00051 #  define LIBATNDS_CDECL ATNDS_CSPEC __declspec(dllexport)
00052 # else
00053 #  define LIBATNDS_CDECL ATNDS_CSPEC __declspec(dllimport)
00054 # endif
00055 
00056 #else 
00057 
00058 # define LIBATNDS_CDECL extern ATNDS_CTYPE
00059 
00060 #endif
00061 
00062 #endif /* _ATNDS_CDECL_H */
Copyright © 2008 Isode privacy   feedback Subscribe to our rss newsfeed