MGE General C Library - API Documentation  v1.8.4
Library of general C functions.
mge-portability.h
Go to the documentation of this file.
1 
16 #ifndef MGE_PORTABILITY_H
17 #define MGE_PORTABILITY_H
18 
19 #undef BEGIN_C_DECLS
20 #undef END_C_DECLS
21 
22 #ifdef __cplusplus
23  #define BEGIN_C_DECLS extern "C" {
24  #define END_C_DECLS }
25 #else
26 
30  #define BEGIN_C_DECLS
31 
34  #define END_C_DECLS
35 #endif
36 
37 #undef PARAMS
38 
39 #if defined __STDC__ || defined _AIX \
40  || (defined __mips && defined _SYSTYPE_SVR4) || defined WIN32 \
41  || defined __cplusplus
42  #define PARAMS(protos) protos
43 #else
44 
49  #define PARAMS(protos) ()
50 #endif
51 
52 #endif /* ndef MGE_PORTABILITY_H */