6844750: Solaris build failed after 6799099
authordav
Mon, 25 May 2009 18:22:23 +0400
changeset 122552493efeb137
parent 1224 cfe73335a065
child 1226 7da360c3baf6
child 1307 6f1f159aed75
6844750: Solaris build failed after 6799099
Reviewed-by: yan
src/solaris/native/sun/xawt/XToolkit.c
     1.1 --- a/src/solaris/native/sun/xawt/XToolkit.c	Fri May 22 16:09:45 2009 +0400
     1.2 +++ b/src/solaris/native/sun/xawt/XToolkit.c	Mon May 25 18:22:23 2009 +0400
     1.3 @@ -950,6 +950,7 @@
     1.4          devices = XListInputDevices(awt_display, &numDevices);
     1.5          for (devIdx = 0; devIdx < numDevices; devIdx++) {
     1.6              aDevice = &(devices[devIdx]);
     1.7 +#ifdef IsXExtensionPointer
     1.8              if (aDevice->use == IsXExtensionPointer) {
     1.9                  for (clsIdx = 0; clsIdx < aDevice->num_classes; clsIdx++) {
    1.10                      if (aDevice->inputclassinfo[clsIdx].class == ButtonClass) {
    1.11 @@ -961,6 +962,7 @@
    1.12                  }
    1.13                  break;
    1.14              }
    1.15 +#endif
    1.16              if (local_num_buttons <= 0 ) {
    1.17                  if (aDevice->use == IsXPointer) {
    1.18                      for (clsIdx = 0; clsIdx < aDevice->num_classes; clsIdx++) {