vs dont like __typeof
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
This commit is contained in:
parent
956009f8ea
commit
e39c53e831
|
@ -8,11 +8,7 @@
|
||||||
NASM=nasm
|
NASM=nasm
|
||||||
# !endif
|
# !endif
|
||||||
|
|
||||||
all: boot0 boot0af boot0ss boot0md boot1h boot1h2 boot1f32 boot1f32alt boot1x boot1xalt
|
all: boot0af boot0ss boot0md boot1h boot1h2 boot1f32 boot1f32alt boot1x boot1xalt
|
||||||
|
|
||||||
boot0: boot0.s
|
|
||||||
@echo -^> "$@"
|
|
||||||
@"$(NASM)" $(@F).s -o $(DESTDIR)\$@
|
|
||||||
|
|
||||||
boot0af: boot0af.s
|
boot0af: boot0af.s
|
||||||
@echo -^> "$@"
|
@echo -^> "$@"
|
||||||
|
@ -51,4 +47,4 @@ boot1xalt: boot1xalt.s
|
||||||
@"$(NASM)" $(@F).s -o $(DESTDIR)\$@
|
@"$(NASM)" $(@F).s -o $(DESTDIR)\$@
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
del /f boot0 boot0af boot0ss boot0md boot1h boot1h2 boot1f32 boot1f32alt boot1x boot1xalt *~
|
del /f boot0af boot0ss boot0md boot1h boot1h2 boot1f32 boot1f32alt boot1x boot1xalt *~
|
||||||
|
|
|
@ -184,7 +184,7 @@ VOID XPointer::UpdatePointer()
|
||||||
if (newPlace.YPos < 0) newPlace.YPos = 0;
|
if (newPlace.YPos < 0) newPlace.YPos = 0;
|
||||||
if (newPlace.YPos > UGAHeight - 1) newPlace.YPos = UGAHeight - 1;
|
if (newPlace.YPos > UGAHeight - 1) newPlace.YPos = UGAHeight - 1;
|
||||||
|
|
||||||
if ( CompareMem(&oldPlace, &newPlace, sizeof(__typeof(oldPlace))) != 0 ) {
|
if ( CompareMem(&oldPlace, &newPlace, sizeof(__typeof__(oldPlace))) != 0 ) {
|
||||||
Hide();
|
Hide();
|
||||||
Draw();
|
Draw();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue