source: trunk/include/initdll.h@ 5135

Last change on this file since 5135 was 5135, checked in by sandervl, 25 years ago

VAC 3.6.5 bug workaround

File size: 1.2 KB
RevLine 
[5129]1#ifndef __INITDLL_H__
2#define __INITDLL_H__
3
4#if (defined(__IBMCPP__) || defined(__IBMC__))
5#ifdef __cplusplus
6extern "C" {
7#endif
8
9void _Optlink __ctordtorInit( void );
[5135]10#define ctordtorInit __ctordtorInit
11
12#if (__IBMCPP__ == 300) || (__IBMC__ == 300)
[5129]13void _Optlink __ctordtorTerm( void );
[5135]14#define ctordtorTerm __ctordtorTerm
15#else
16void CDECL _ctordtorTerm( int workaroundforstupidcompilerbug );
17#define ctordtorTerm() _ctordtorTerm(1)
18#endif
[5129]19
[5135]20
[5129]21/*-------------------------------------------------------------------*/
22/* _CRT_init is the C run-time environment initialization function. */
23/* It will return 0 to indicate success and -1 to indicate failure. */
24/*-------------------------------------------------------------------*/
25int _Optlink _CRT_init(void);
26
27/*-------------------------------------------------------------------*/
28/* _CRT_term is the C run-time environment termination function. */
29/* It only needs to be called when the C run-time functions are */
30/* statically linked. */
31/*-------------------------------------------------------------------*/
32void _Optlink _CRT_term(void);
33
34
35#ifdef __cplusplus
36}
37#endif
38
39#endif
40
41
42#endif //__INITDLL_H__
Note: See TracBrowser for help on using the repository browser.