uxtheme: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
8355a20189
commit
21a19fb4e3
|
@ -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 \
|
||||||
|
|
|
@ -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>
|
||||||
|
|
||||||
|
|
|
@ -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>
|
||||||
|
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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>
|
||||||
|
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue