diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2012-10-30 11:09:38 -0500 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2012-10-30 11:09:38 -0500 |
commit | d2b03dad3d0b458ab4146b4e51756e3ce8efe7cc (patch) | |
tree | eb7906088c61f61c59005461e4ef0250cab9dd4e /chalk | |
parent | e566a4bef04b83c4927349955ca7cca80aee1c09 (diff) | |
download | koffice-d2b03dad3d0b458ab4146b4e51756e3ce8efe7cc.tar.gz koffice-d2b03dad3d0b458ab4146b4e51756e3ce8efe7cc.zip |
Fix some "is not defined" warnings.
Diffstat (limited to 'chalk')
-rw-r--r-- | chalk/plugins/filters/cimg/CImg.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chalk/plugins/filters/cimg/CImg.h b/chalk/plugins/filters/cimg/CImg.h index 23c7e221..315d1fe3 100644 --- a/chalk/plugins/filters/cimg/CImg.h +++ b/chalk/plugins/filters/cimg/CImg.h @@ -4059,7 +4059,7 @@ namespace cimg_library { XSendEvent(cimg::X11attr().display, window, False, 0, &event); pthread_mutex_unlock(cimg::X11attr().mutex); } else { -#if cimg_use_xshm +#ifdef cimg_use_xshm if (shminfo) XShmPutImage(cimg::X11attr().display,window,*cimg::X11attr().gc,image,0,0,0,0,width,height,False); else @@ -4157,7 +4157,7 @@ namespace cimg_library { if (fullscreen) XUngrabKeyboard(cimg::X11attr().display,CurrentTime); XDestroyWindow(cimg::X11attr().display,window); if (shminfo) { -#if cimg_use_xshm +#ifdef cimg_use_xshm XShmDetach(cimg::X11attr().display, shminfo); XDestroyImage(image); shmdt(shminfo->shmaddr); |