Fixes around GCC's stupidity

svn path=/trunk/; revision=6427
This commit is contained in:
KJK::Hyperion 2003-10-25 00:46:01 +00:00
parent 458bf0e03e
commit d5640e8aad
2 changed files with 8 additions and 6 deletions

View file

@ -1,23 +1,25 @@
# $Id: makefile,v 1.1 2003/10/24 21:29:48 hyperion Exp $
# $Id: makefile,v 1.2 2003/10/25 00:46:01 hyperion Exp $
PATH_TO_TOP = ../..
TARGET_DEFONLY = yes
TARGET_TYPE = dynlink
TARGET_NAME = uxtheme
TARGET_SDKLIBS = kernel32.a user32.a gdi32.a
TARGET_CFLAGS = -Wall -Werror -D_DISABLE_TIDENTS
TARGET_CFLAGS = -Wall -Werror -D_DISABLE_TIDENTS -D__USE_W32API -I./include
TARGET_LFLAGS = -nostartfiles -nostdlib
TARGET_LFLAGS = -nostartfiles --enable-stdcall-fixup
TARGET_BASE = 0x5B180000
TARGET_OBJECTS = \
uxthemedll.o \
button.o
nostyle/button.o
DEP_OBJECTS = $(TARGET_OBJECTS)
include $(PATH_TO_TOP)/rules.mak

View file

@ -21,7 +21,7 @@ STDAPI_(BOOL) Button_IsPartDefined
const UXTHEME_VTABLE Button_Vt =
{
Button_DrawBackground
(void *)Button_DrawBackground /* why (void *)? because GCC is stupid */
};
/* BP_PUSHBUTTON */