Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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
wine
wine-winehq
Commits
50e3f110
Commit
50e3f110
authored
Jan 07, 2014
by
Piotr Caban
Committed by
Alexandre Julliard
Jan 07, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp110: Share the source code with msvcp90.
parent
f8a18f9c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
39 deletions
+28
-39
Makefile.in
dlls/msvcp110/Makefile.in
+14
-1
msvcp110.c
dlls/msvcp110/msvcp110.c
+0
-37
msvcp110.spec
dlls/msvcp110/msvcp110.spec
+0
-0
locale.c
dlls/msvcp90/locale.c
+14
-1
No files found.
dlls/msvcp110/Makefile.in
View file @
50e3f110
MODULE
=
msvcp110.dll
IMPORTS
=
msvcr110
MODCFLAGS
=
@BUILTINFLAG@
EXTRAINCL
=
-I
$(top_srcdir)
/include/msvcrt
EXTRADEFS
=
-D_MSVCP_VER
=
110
PARENTSRC
=
../msvcp90
C_SRCS
=
msvcp110.c
C_SRCS
=
\
exception.c
\
ios.c
\
locale.c
\
math.c
\
memory.c
\
misc.c
\
msvcp_main.c
\
string.c
dlls/msvcp110/msvcp110.c
deleted
100644 → 0
View file @
f8a18f9c
/*
* msvcp110 specific functions
*
* Copyright 2013 Stefan Leichter
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
BOOL
WINAPI
DllMain
(
HINSTANCE
hdll
,
DWORD
reason
,
LPVOID
reserved
)
{
switch
(
reason
)
{
case
DLL_WINE_PREATTACH
:
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
DisableThreadLibraryCalls
(
hdll
);
}
return
TRUE
;
}
dlls/msvcp110/msvcp110.spec
View file @
50e3f110
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dlls/msvcp90/locale.c
View file @
50e3f110
...
...
@@ -43,12 +43,25 @@ char* __cdecl _Getdays(void);
char
*
__cdecl
_Getmonths
(
void
);
void
*
__cdecl
_Gettnames
(
void
);
unsigned
int
__cdecl
___lc_codepage_func
(
void
);
LCID
*
__cdecl
___lc_handle_func
(
void
);
const
locale_facet
*
__thiscall
locale__Getfacet
(
const
locale
*
,
MSVCP_size_t
);
MSVCP_size_t
__cdecl
_Strftime
(
char
*
,
MSVCP_size_t
,
const
char
*
,
const
struct
tm
*
,
struct
__lc_time_data
*
);
const
locale
*
__cdecl
locale_classic
(
void
);
#if _MSVCP_VER >= 110
static
LCID
*
___lc_handle_func
(
void
)
{
LCID
*
ret
;
_locale_t
loc
=
_get_current_locale
();
ret
=
loc
->
locinfo
->
lc_handle
;
_free_locale
(
loc
);
return
ret
;
}
#else
LCID
*
__cdecl
___lc_handle_func
(
void
);
#endif
#if _MSVCP_VER < 100
#define locale_string basic_string_char
#define locale_string_char_ctor_cstr(this,str) MSVCP_basic_string_char_ctor_cstr(this,str)
...
...
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