INTEGRATION: CWS os2port02 (1.8.4); FILE MERGED
2007/10/05 13:30:31 ydario 1.8.4.2: Implemented cws sb71 sal init/deinit sequence to set/unset exception hooks. 2007/09/30 11:54:50 ydario 1.8.4.1: Issue number: i82034 Submitted by: ydario Reviewed by: ydario Commit of changes for OS/2 CWS source code integration.
This commit is contained in:
parent
f9aad43d93
commit
04b4e0a5c6
1 changed files with 2 additions and 23 deletions
|
@ -4,9 +4,9 @@
|
|||
*
|
||||
* $RCSfile: main.h,v $
|
||||
*
|
||||
* $Revision: 1.9 $
|
||||
* $Revision: 1.10 $
|
||||
*
|
||||
* last change: $Author: vg $ $Date: 2007-10-15 12:47:44 $
|
||||
* last change: $Author: hr $ $Date: 2007-11-02 12:29:55 $
|
||||
*
|
||||
* The Contents of this file are made available subject to
|
||||
* the terms of GNU Lesser General Public License Version 2.1.
|
||||
|
@ -115,27 +115,6 @@ int WINAPI WinMain( HINSTANCE _hinst, HINSTANCE _dummy, char* _cmdline, int _nsh
|
|||
|
||||
#else /* ! SAL_W32 */
|
||||
|
||||
#ifdef SAL_OS2
|
||||
|
||||
int SAL_CALL osl_ProcessHook( int (*sal_main)( int, char**), int argc, char ** argv);
|
||||
|
||||
#define SAL_DEFINE_CRT_ENTRY() \
|
||||
int main(int argc, char ** argv) \
|
||||
{ \
|
||||
return osl_ProcessHook(sal_main, argc, argv); \
|
||||
} \
|
||||
|
||||
#else /* ! SAL_OS2 */
|
||||
|
||||
#define SAL_DEFINE_CRT_ENTRY() \
|
||||
int main(int argc, char ** argv) \
|
||||
{ \
|
||||
osl_setCommandArgs(argc, argv); \
|
||||
return sal_main(argc, argv); \
|
||||
} \
|
||||
|
||||
#endif /* ! SAL_OS2 */
|
||||
|
||||
# define SAL_WIN_WinMain
|
||||
|
||||
#endif /* ! SAL_W32 */
|
||||
|
|
Loading…
Reference in a new issue