]> git.proxmox.com Git - mirror_qemu.git/blobdiff - ui/sdl_keysym.h
vhost: generalize iommu memory region
[mirror_qemu.git] / ui / sdl_keysym.h
index ee904805da8b762e4041e04cc568dfb8f2a5ce45..599d9fc64df79f3bf27cb54bf68d65bc17582cf5 100644 (file)
@@ -200,6 +200,7 @@ static const name2keysym_t name2keysym[]={
 { "yacute",               0x0fd},
 { "thorn",                0x0fe},
 { "ydiaeresis",           0x0ff},
+#if SDL_MAJOR_VERSION == 1
 {"EuroSign", SDLK_EURO},
 
     /* modifiers */
@@ -272,6 +273,6 @@ static const name2keysym_t name2keysym[]={
 {"Num_Lock", SDLK_NUMLOCK},
 {"Pause", SDLK_PAUSE},
 {"Escape", SDLK_ESCAPE},
-
+#endif
 {NULL, 0},
 };