File tree Expand file tree Collapse file tree 3 files changed +12
-1
lines changed
Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -315,7 +315,8 @@ donecpy:
315315 mov _winmajor , al ; ...
316316 mov _winminor , ah ; ...
317317 xchg al , ah ; ...
318- mov _winver , ax ; ...
318+ movzx eax , ax ; ...
319+ mov _winver , eax ; ...
319320 movzx eax , hThisInstance
320321 push eax
321322 mov edi , offset filename
Original file line number Diff line number Diff line change 22*
33* Open Watcom Project
44*
5+ * Copyright (c) 2025 The Open Watcom Contributors. All Rights Reserved.
56* Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
67*
78* ========================================================================
3435#include "rtdata.h"
3536
3637
38+ #ifdef __WINDOWS__
39+ _WCRTLINK unsigned char (* __get_winmajor_ptr ( void ))
40+ #else
3741_WCRTLINK unsigned int (* __get_winmajor_ptr ( void ))
42+ #endif
3843{
3944 return ( & _RWD_winmajor );
4045}
Original file line number Diff line number Diff line change 22*
33* Open Watcom Project
44*
5+ * Copyright (c) 2025 The Open Watcom Contributors. All Rights Reserved.
56* Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
67*
78* ========================================================================
3435#include "rtdata.h"
3536
3637
38+ #ifdef __WINDOWS__
39+ _WCRTLINK unsigned char (* __get_winminor_ptr ( void ))
40+ #else
3741_WCRTLINK unsigned int (* __get_winminor_ptr ( void ))
42+ #endif
3843{
3944 return ( & _RWD_winminor );
4045}
You can’t perform that action at this time.
0 commit comments