1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-23 22:52:34 +01:00

Code refactoring: replaced macro 'XSHM' by 'USE_XSHM' for consistency

The usual way to define a macro in is to name macro with 'USE_xxx' when
they are used to enable a feature 'xxx'.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
Christophe CURIS
2013-11-17 18:51:19 +01:00
committed by Carlos R. Mafra
parent ee3422dd10
commit 062f6dd59d
5 changed files with 24 additions and 24 deletions

View File

@@ -47,7 +47,7 @@
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#ifdef XSHM
#ifdef USE_XSHM
#include <X11/extensions/XShm.h>
#endif
@@ -204,7 +204,7 @@ typedef struct RXImage {
XImage *image;
/* Private data. Do not access */
#ifdef XSHM
#ifdef USE_XSHM
XShmSegmentInfo info;
char is_shared;
#endif