Skip to content

Commit

Permalink
version change for const GCFuncs and GCOps
Browse files Browse the repository at this point in the history
  • Loading branch information
jsorg71 committed Aug 4, 2016
1 parent 597f345 commit 822e3b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion module/rdp.h
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ typedef struct _rdpRec * rdpPtr;
struct _rdpGCRec
{
/* changed to const in d89b42b */
#if XORG_VERSION_CURRENT <= XORG_VERSION_NUMERIC(1, 15, 0, 0, 0)
#if XORG_VERSION_CURRENT < XORG_VERSION_NUMERIC(1, 15, 99, 901, 0)
GCFuncs *funcs;
GCOps *ops;
#else
Expand Down
2 changes: 1 addition & 1 deletion module/rdpDraw.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ misc draw calls

/******************************************************************************/
/* changed to const in d89b42b */
#if XORG_VERSION_CURRENT < XORG_VERSION_NUMERIC(1, 15, 0, 0, 0)
#if XORG_VERSION_CURRENT < XORG_VERSION_NUMERIC(1, 15, 99, 901, 0)
#define GC_OP_VARS rdpPtr dev; rdpGCPtr priv; GCFuncs *oldFuncs
#else
#define GC_OP_VARS rdpPtr dev; rdpGCPtr priv; const GCFuncs *oldFuncs
Expand Down

0 comments on commit 822e3b8

Please sign in to comment.