uxtheme: Build with msvcrt.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2019-06-25 08:35:03 +02:00
parent 8355a20189
commit 21a19fb4e3
10 changed files with 9 additions and 26 deletions

View file

@ -3,6 +3,8 @@ IMPORTLIB = uxtheme
IMPORTS = user32 gdi32 advapi32 IMPORTS = user32 gdi32 advapi32
DELAYIMPORTS = msimg32 DELAYIMPORTS = msimg32
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \ C_SRCS = \
buffer.c \ buffer.c \
draw.c \ draw.c \

View file

@ -19,8 +19,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include "config.h"
#include <stdlib.h> #include <stdlib.h>
#include <stdarg.h> #include <stdarg.h>

View file

@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include "config.h"
#include <stdlib.h> #include <stdlib.h>
#include <stdarg.h> #include <stdarg.h>

View file

@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include "config.h"
#include <stdarg.h> #include <stdarg.h>
#include "windef.h" #include "windef.h"

View file

@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include "config.h"
#include <stdarg.h> #include <stdarg.h>
#include "windef.h" #include "windef.h"

View file

@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include "config.h"
#include <stdarg.h> #include <stdarg.h>
#include <stdlib.h> #include <stdlib.h>
@ -34,7 +32,6 @@
#include "msstyles.h" #include "msstyles.h"
#include "wine/unicode.h"
#include "wine/debug.h" #include "wine/debug.h"
#include "wine/heap.h" #include "wine/heap.h"
@ -352,7 +349,7 @@ static BOOL MSSTYLES_ParseIniSectionName(LPCWSTR lpSection, DWORD dwLen, LPWSTR
*iStateId = 0; *iStateId = 0;
comp = sec; comp = sec;
/* Get the application name */ /* Get the application name */
tmp = strchrW(comp, ':'); tmp = wcschr(comp, ':');
if(tmp) { if(tmp) {
*tmp++ = 0; *tmp++ = 0;
tmp++; tmp++;
@ -360,19 +357,19 @@ static BOOL MSSTYLES_ParseIniSectionName(LPCWSTR lpSection, DWORD dwLen, LPWSTR
comp = tmp; comp = tmp;
} }
tmp = strchrW(comp, '.'); tmp = wcschr(comp, '.');
if(tmp) { if(tmp) {
*tmp++ = 0; *tmp++ = 0;
lstrcpynW(szClassName, comp, MAX_THEME_CLASS_NAME); lstrcpynW(szClassName, comp, MAX_THEME_CLASS_NAME);
comp = tmp; comp = tmp;
/* now get the part & state */ /* now get the part & state */
tmp = strchrW(comp, '('); tmp = wcschr(comp, '(');
if(tmp) { if(tmp) {
*tmp++ = 0; *tmp++ = 0;
lstrcpynW(part, comp, ARRAY_SIZE(part)); lstrcpynW(part, comp, ARRAY_SIZE(part));
comp = tmp; comp = tmp;
/* now get the state */ /* now get the state */
tmp = strchrW(comp, ')'); tmp = wcschr(comp, ')');
if (!tmp) if (!tmp)
return FALSE; return FALSE;
*tmp = 0; *tmp = 0;
@ -383,13 +380,13 @@ static BOOL MSSTYLES_ParseIniSectionName(LPCWSTR lpSection, DWORD dwLen, LPWSTR
} }
} }
else { else {
tmp = strchrW(comp, '('); tmp = wcschr(comp, '(');
if(tmp) { if(tmp) {
*tmp++ = 0; *tmp++ = 0;
lstrcpynW(szClassName, comp, MAX_THEME_CLASS_NAME); lstrcpynW(szClassName, comp, MAX_THEME_CLASS_NAME);
comp = tmp; comp = tmp;
/* now get the state */ /* now get the state */
tmp = strchrW(comp, ')'); tmp = wcschr(comp, ')');
if (!tmp) if (!tmp)
return FALSE; return FALSE;
*tmp = 0; *tmp = 0;
@ -1012,7 +1009,7 @@ PTHEME_CLASS MSSTYLES_OpenThemeClass(LPCWSTR pszAppName, LPCWSTR pszClassList)
} }
start = pszClassList; start = pszClassList;
while((end = strchrW(start, ';'))) { while((end = wcschr(start, ';'))) {
len = end-start; len = end-start;
lstrcpynW(szClassName, start, min(len+1, ARRAY_SIZE(szClassName))); lstrcpynW(szClassName, start, min(len+1, ARRAY_SIZE(szClassName)));
start = end+1; start = end+1;

View file

@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include "config.h"
#include <stdarg.h> #include <stdarg.h>
#include "windef.h" #include "windef.h"

View file

@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include "config.h"
#include <stdarg.h> #include <stdarg.h>
#include "windef.h" #include "windef.h"

View file

@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include "config.h"
#include <stdarg.h> #include <stdarg.h>
#include <stdio.h> #include <stdio.h>

View file

@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include "config.h"
#include <stdarg.h> #include <stdarg.h>
#include "windef.h" #include "windef.h"