< prev index next >
src/java.desktop/unix/native/common/java2d/x11/X11SurfaceData.c
Print this page
rev 50167 : 8203355: MITSHM define guarding missing
*** 81,91 ****
--- 81,94 ----
static jclass xorCompClass;
jint useMitShmExt = CANT_USE_MITSHM;
jint useMitShmPixmaps = CANT_USE_MITSHM;
jint forceSharedPixmaps = JNI_FALSE;
+
+ #ifdef MITSHM
int mitShmPermissionMask = MITSHM_PERM_OWNER;
+ #endif
/* Cached shared image, one for all surface datas. */
static XImage * cachedXImage;
#endif /* !HEADLESS */
< prev index next >