source: trunk/include/initdll.h@ 5136

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

* empty log message *

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