Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Aleksandr Isakov
wine-fonts
Commits
d4018379
Commit
d4018379
authored
Jun 17, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winecrt0: Build with msvcrt.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
6bce2b13
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
27 additions
and
25 deletions
+27
-25
Makefile.in
dlls/winecrt0/Makefile.in
+2
-0
debug.c
dlls/winecrt0/debug.c
+1
-1
delay_load.c
dlls/winecrt0/delay_load.c
+3
-3
dll_entry.c
dlls/winecrt0/dll_entry.c
+3
-3
drv_entry.c
dlls/winecrt0/drv_entry.c
+3
-3
exe_entry.c
dlls/winecrt0/exe_entry.c
+3
-3
exe_main.c
dlls/winecrt0/exe_main.c
+3
-3
exe_wentry.c
dlls/winecrt0/exe_wentry.c
+3
-3
exe_wmain.c
dlls/winecrt0/exe_wmain.c
+3
-3
init.c
dlls/winecrt0/init.c
+3
-3
No files found.
dlls/winecrt0/Makefile.in
View file @
d4018379
MODULE
=
libwinecrt0.a
EXTRADLLFLAGS
=
-mno-cygwin
C_SRCS
=
\
debug.c
\
delay_load.c
\
...
...
dlls/winecrt0/debug.c
View file @
d4018379
...
...
@@ -159,7 +159,7 @@ static const char * __cdecl fallback__wine_dbg_strdup( const char *str )
{
static
char
*
list
[
32
];
static
int
pos
;
char
*
ret
=
_
strdup
(
str
);
char
*
ret
=
strdup
(
str
);
int
idx
;
idx
=
InterlockedIncrement
(
&
pos
)
%
ARRAY_SIZE
(
list
);
...
...
dlls/winecrt0/delay_load.c
View file @
d4018379
...
...
@@ -18,7 +18,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef _WIN32
#if 0
#pragma makedep unix
#endif
#include <stdarg.h>
#include "windef.h"
...
...
@@ -63,5 +65,3 @@ static void free_delay_imports(void)
if
(
*
descr
->
phmod
)
FreeLibrary
(
*
descr
->
phmod
);
}
#endif
#endif
/* _WIN32 */
dlls/winecrt0/dll_entry.c
View file @
d4018379
...
...
@@ -18,7 +18,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef _WIN32
#if 0
#pragma makedep unix
#endif
#include <stdarg.h>
#include "windef.h"
...
...
@@ -45,5 +47,3 @@ BOOL WINAPI DECLSPEC_HIDDEN __wine_spec_dll_entry( HINSTANCE inst, DWORD reason,
return
ret
;
}
#endif
/* _WIN32 */
dlls/winecrt0/drv_entry.c
View file @
d4018379
...
...
@@ -18,7 +18,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef _WIN32
#if 0
#pragma makedep unix
#endif
#include <stdarg.h>
#include "windef.h"
...
...
@@ -37,5 +39,3 @@ NTSTATUS DECLSPEC_HIDDEN WINAPI __wine_spec_drv_entry( struct _DRIVER_OBJECT *ob
return
DriverEntry
(
obj
,
path
);
/* there is no detach routine so we can't call destructors */
}
#endif
/* _WIN32 */
dlls/winecrt0/exe_entry.c
View file @
d4018379
...
...
@@ -18,7 +18,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef _WIN32
#if 0
#pragma makedep unix
#endif
#include <stdarg.h>
#include "windef.h"
...
...
@@ -39,5 +41,3 @@ DWORD WINAPI DECLSPEC_HIDDEN __wine_spec_exe_entry( PEB *peb )
if
(
needs_init
)
_fini
();
ExitProcess
(
ret
);
}
#endif
/* _WIN32 */
dlls/winecrt0/exe_main.c
View file @
d4018379
...
...
@@ -18,7 +18,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef _WIN32
#if 0
#pragma makedep unix
#endif
#include <stdarg.h>
#include "windef.h"
...
...
@@ -50,5 +52,3 @@ int __cdecl main( int argc, char *argv[] )
if
(
!
(
info
.
dwFlags
&
STARTF_USESHOWWINDOW
))
info
.
wShowWindow
=
SW_SHOWNORMAL
;
return
WinMain
(
GetModuleHandleA
(
0
),
0
,
cmdline
,
info
.
wShowWindow
);
}
#endif
/* _WIN32 */
dlls/winecrt0/exe_wentry.c
View file @
d4018379
...
...
@@ -18,7 +18,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef _WIN32
#if 0
#pragma makedep unix
#endif
#include <stdarg.h>
#include "windef.h"
...
...
@@ -39,5 +41,3 @@ DWORD WINAPI DECLSPEC_HIDDEN __wine_spec_exe_wentry( PEB *peb )
if
(
needs_init
)
_fini
();
ExitProcess
(
ret
);
}
#endif
/* _WIN32 */
dlls/winecrt0/exe_wmain.c
View file @
d4018379
...
...
@@ -18,7 +18,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef _WIN32
#if 0
#pragma makedep unix
#endif
#include <stdarg.h>
#include "windef.h"
...
...
@@ -52,5 +54,3 @@ int __cdecl wmain( int argc, WCHAR *argv[] )
if
(
!
(
info
.
dwFlags
&
STARTF_USESHOWWINDOW
))
info
.
wShowWindow
=
SW_SHOWNORMAL
;
return
wWinMain
(
GetModuleHandleW
(
0
),
0
,
cmdline
,
info
.
wShowWindow
);
}
#endif
/* _WIN32 */
dlls/winecrt0/init.c
View file @
d4018379
...
...
@@ -18,7 +18,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef _WIN32
#if 0
#pragma makedep unix
#endif
#include <stdarg.h>
#include "windef.h"
...
...
@@ -42,5 +44,3 @@ void DECLSPEC_HIDDEN __wine_spec_init_ctor(void)
if
(
__wine_spec_init_state
==
NO_INIT_DONE
)
__wine_spec_init
();
__wine_spec_init_state
=
CONSTRUCTORS_DONE
;
}
#endif
/* _WIN32 */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment