summaryrefslogtreecommitdiff
path: root/plugins/KeyboardNotify/keyboard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/KeyboardNotify/keyboard.cpp')
-rw-r--r--plugins/KeyboardNotify/keyboard.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/KeyboardNotify/keyboard.cpp b/plugins/KeyboardNotify/keyboard.cpp
index cb77a88827..df1033fce7 100644
--- a/plugins/KeyboardNotify/keyboard.cpp
+++ b/plugins/KeyboardNotify/keyboard.cpp
@@ -46,9 +46,11 @@ typedef struct _KEYBOARD_INDICATOR_PARAMETERS {
void outportb(UINT portid, BYTE value)
{
+ #if !defined( _WIN64 )
__asm mov edx,portid
__asm mov al,value
__asm out dx,al
+ #endif
}