Fix import problems in win32k.sys

svn path=/trunk/; revision=736
This commit is contained in:
Rex Jolliff 1999-10-27 05:49:58 +00:00
parent 125a62f79a
commit 788e4dc053
2 changed files with 6 additions and 6 deletions

View file

@ -45,7 +45,7 @@ $(TARGET).sys: $(OBJECTS) $(TARGET).def
-Wl,--defsym,_end=end \
-Wl,--defsym,_edata=__data_end__ \
-Wl,--defsym,_etext=etext -Wl,--base-file,base.tmp $(TARGET).o \
../../ntoskrnl/ntoskrnl.a
-specs=../../specs ../../ntoskrnl/ntoskrnl.a
- $(RM) junk.tmp
$(DLLTOOL) --dllname $(TARGET).sys --base-file base.tmp \
--output-exp temp.exp --def $(TARGET).def
@ -57,7 +57,7 @@ $(TARGET).sys: $(OBJECTS) $(TARGET).def
-Wl,--section-alignment,0x1000 \
-Wl,--defsym,_end=end \
-Wl,--defsym,_edata=__data_end__ \
-Wl,--defsym,_etext=etext -Wl,temp.exp
-Wl,--defsym,_etext=etext -Wl,temp.exp -specs=../../specs
- $(RM) temp.exp
$(NM) --numeric-sort $(TARGET).sys > $(TARGET).sym

View file

@ -1,4 +1,4 @@
/* $Id: driver.c,v 1.2 1999/07/12 23:26:57 rex Exp $
/* $Id: driver.c,v 1.3 1999/10/27 05:49:58 rex Exp $
*
* GDI Driver support routines
* (mostly swiped from Wine)
@ -58,7 +58,7 @@ PGD_ENABLEDRIVER DRIVER_FindDDIDriver(LPCWSTR Name)
while (Driver && Name)
{
if (!wcsicmp( Driver->Name, Name))
if (!_wcsicmp( Driver->Name, Name))
{
return Driver->EnableDriver;
}
@ -134,7 +134,7 @@ BOOL DRIVER_UnregisterDriver(LPCWSTR Name)
{
if (DriverList != NULL)
{
if (!wcsicmp(DriverList->Name, Name))
if (!_wcsicmp(DriverList->Name, Name))
{
Driver = DriverList;
DriverList = DriverList->Next;
@ -142,7 +142,7 @@ BOOL DRIVER_UnregisterDriver(LPCWSTR Name)
else
{
Driver = DriverList;
while (Driver->Next && wcsicmp(Driver->Name, Name))
while (Driver->Next && _wcsicmp(Driver->Name, Name))
{
Driver = Driver->Next;
}