CCAux
2.19.0.0
CCAux API reference
IncludeFiles
CCPlatform.h
Go to the documentation of this file.
1
2
/*
3
* Copyright (C) 2010-2022 CrossControl AB - All rights reserved
4
*
5
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6
*
7
* This source code is licensed under the proprietary CrossControl software
8
* license v 1.0.Please refer to the software license text for details or
9
* contact info@crosscontrol.com for more info.
10
*
11
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12
*/
13
/*
14
* File description:
15
* Platform dependent defines
16
*
17
************************************************/
18
19
#ifndef PLATFORM__H
20
#define PLATFORM__H
21
22
/****************************************************************************
23
// CALLING CONVENTION DEFINES
24
****************************************************************************/
25
#ifdef __cplusplus
26
#ifndef EXTERN_C
27
#define EXTERN_C extern "C"
28
#endif
/* #ifndef EXTERN_C */
29
#else
30
#define EXTERN_C
31
#endif
32
33
/* Calling conventions */
34
#define CCAUXDLL_API EXTERN_C
35
#define CCAUXDLL_CALLING_CONV
36
37
/****************************************************************************
38
// CHARACTER TYPE
39
****************************************************************************/
40
#include <wchar.h>
41
#if defined(_UNICODE) || defined(UNICODE)
42
#define LPCTSTR whcar_t const *
43
#define TCHAR wchar_t
44
#define _T(x) L##x
45
#else
46
#ifndef LPCTSTR
47
#define LPCTSTR char_t const *
48
#endif
49
#ifndef TCHAR
50
#define TCHAR char_t
51
#endif
52
#ifndef _T
53
#define _T(x) x
54
#endif
55
#endif
56
57
#endif
/* PLATFORM__H */
Generated on Tue Sep 19 2023 13:50:21 for CCAux by
1.9.3