mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Fix import problems in win32k.sys
svn path=/trunk/; revision=736
This commit is contained in:
parent
125a62f79a
commit
788e4dc053
2 changed files with 6 additions and 6 deletions
|
@ -45,7 +45,7 @@ $(TARGET).sys: $(OBJECTS) $(TARGET).def
|
||||||
-Wl,--defsym,_end=end \
|
-Wl,--defsym,_end=end \
|
||||||
-Wl,--defsym,_edata=__data_end__ \
|
-Wl,--defsym,_edata=__data_end__ \
|
||||||
-Wl,--defsym,_etext=etext -Wl,--base-file,base.tmp $(TARGET).o \
|
-Wl,--defsym,_etext=etext -Wl,--base-file,base.tmp $(TARGET).o \
|
||||||
../../ntoskrnl/ntoskrnl.a
|
-specs=../../specs ../../ntoskrnl/ntoskrnl.a
|
||||||
- $(RM) junk.tmp
|
- $(RM) junk.tmp
|
||||||
$(DLLTOOL) --dllname $(TARGET).sys --base-file base.tmp \
|
$(DLLTOOL) --dllname $(TARGET).sys --base-file base.tmp \
|
||||||
--output-exp temp.exp --def $(TARGET).def
|
--output-exp temp.exp --def $(TARGET).def
|
||||||
|
@ -57,7 +57,7 @@ $(TARGET).sys: $(OBJECTS) $(TARGET).def
|
||||||
-Wl,--section-alignment,0x1000 \
|
-Wl,--section-alignment,0x1000 \
|
||||||
-Wl,--defsym,_end=end \
|
-Wl,--defsym,_end=end \
|
||||||
-Wl,--defsym,_edata=__data_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
|
- $(RM) temp.exp
|
||||||
$(NM) --numeric-sort $(TARGET).sys > $(TARGET).sym
|
$(NM) --numeric-sort $(TARGET).sys > $(TARGET).sym
|
||||||
|
|
|
@ -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
|
* GDI Driver support routines
|
||||||
* (mostly swiped from Wine)
|
* (mostly swiped from Wine)
|
||||||
|
@ -58,7 +58,7 @@ PGD_ENABLEDRIVER DRIVER_FindDDIDriver(LPCWSTR Name)
|
||||||
|
|
||||||
while (Driver && Name)
|
while (Driver && Name)
|
||||||
{
|
{
|
||||||
if (!wcsicmp( Driver->Name, Name))
|
if (!_wcsicmp( Driver->Name, Name))
|
||||||
{
|
{
|
||||||
return Driver->EnableDriver;
|
return Driver->EnableDriver;
|
||||||
}
|
}
|
||||||
|
@ -134,7 +134,7 @@ BOOL DRIVER_UnregisterDriver(LPCWSTR Name)
|
||||||
{
|
{
|
||||||
if (DriverList != NULL)
|
if (DriverList != NULL)
|
||||||
{
|
{
|
||||||
if (!wcsicmp(DriverList->Name, Name))
|
if (!_wcsicmp(DriverList->Name, Name))
|
||||||
{
|
{
|
||||||
Driver = DriverList;
|
Driver = DriverList;
|
||||||
DriverList = DriverList->Next;
|
DriverList = DriverList->Next;
|
||||||
|
@ -142,7 +142,7 @@ BOOL DRIVER_UnregisterDriver(LPCWSTR Name)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Driver = DriverList;
|
Driver = DriverList;
|
||||||
while (Driver->Next && wcsicmp(Driver->Name, Name))
|
while (Driver->Next && _wcsicmp(Driver->Name, Name))
|
||||||
{
|
{
|
||||||
Driver = Driver->Next;
|
Driver = Driver->Next;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue