MGE General C Library - Full Internal Documentation
v1.8.0
Library of general C functions.
mge-portability.h
Go to the documentation of this file.
1
16
/* **********************************************************************
17
* *
18
* Changelog *
19
* *
20
* Date Author Version Description *
21
* *
22
* 15/06/2015 MG 1.0.1 First release. *
23
* 16/07/2016 MG 1.0.2 Move towards kernel coding style. *
24
* 05/11/2017 MG 1.0.3 Add Doxygen comments. *
25
* 09/11/2017 MG 1.0.4 Add SPDX license tag. *
26
* 02/01/2018 MG 1.0.5 Move to new source directory structure. *
27
* 08/06/2019 MG 1.0.6 clang-format coding style changes. *
28
* 03/12/2021 MG 1.0.7 Tighten SPDX tag. *
29
* 16/09/2022 MG 1.0.8 Rename to add mge- namespace. *
30
* *
31
************************************************************************
32
*/
33
34
#ifndef MGE_PORTABILITY_H
35
#define MGE_PORTABILITY_H
36
37
#undef BEGIN_C_DECLS
38
#undef END_C_DECLS
39
40
#ifdef __cplusplus
41
#define BEGIN_C_DECLS extern "C"
{
42
#define END_C_DECLS }
43
#else
48
#define BEGIN_C_DECLS
52
#define END_C_DECLS
53
#endif
54
55
#undef PARAMS
56
57
#if defined __STDC__ || defined _AIX \
58
|| (defined __mips && defined _SYSTYPE_SVR4) || defined WIN32 \
59
|| defined __cplusplus
60
#define PARAMS(protos) protos
61
#else
67
#define PARAMS(protos) ()
68
#endif
69
70
#endif
/* ndef MGE_PORTABILITY_H */
src
prg
c
inc
libmgec
mge-portability.h
Generated by
1.9.4