Changeset 391 for python/trunk/PC/os2emx/dllentry.c
- Timestamp:
- Mar 19, 2014, 11:31:01 PM (11 years ago)
- Location:
- python/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk
-
Property svn:mergeinfo
set to
/python/vendor/Python-2.7.6 merged eligible /python/vendor/current merged eligible
-
Property svn:mergeinfo
set to
-
python/trunk/PC/os2emx/dllentry.c
r2 r391 5 5 #define NULL 0 6 6 7 #define REF(s) 7 #define REF(s) extern void s(); void *____ref_##s = &s; 8 8 9 9 /* Make references to imported symbols to pull them from static library */ … … 19 19 unsigned long _DLL_InitTerm(unsigned long mod_handle, unsigned long flag) 20 20 { 21 22 23 24 25 26 21 switch (flag) 22 { 23 case 0: 24 if (_CRT_init()) 25 return 0; 26 __ctordtorInit(); 27 27 28 29 30 28 /* Ignore fatal signals */ 29 signal(SIGSEGV, SIG_IGN); 30 signal(SIGFPE, SIG_IGN); 31 31 32 32 return 1; 33 33 34 35 36 37 34 case 1: 35 __ctordtorTerm(); 36 _CRT_term(); 37 return 1; 38 38 39 40 41 39 default: 40 return 0; 41 } 42 42 }
Note:
See TracChangeset
for help on using the changeset viewer.