src/solaris/native/sun/java2d/x11/X11SurfaceData.c
Print this page
rev 7983 : 8024854: Basic changes and files to build the class library on AIX
Contributed-by: luchsh@linux.vnet.ibm.com, spoole@linux.vnet.ibm.com, thomas.stuefe@sap.com
Reviewed-by:
*** 54,65 ****
--- 54,69 ----
jint lockFlags;
XImage *img;
int x, y;
} X11RIPrivate;
+ #ifndef MAX
#define MAX(a,b) ((a) > (b) ? (a) : (b))
+ #endif
+ #ifndef MIN
#define MIN(a,b) ((a) < (b) ? (a) : (b))
+ #endif
static LockFunc X11SD_Lock;
static GetRasInfoFunc X11SD_GetRasInfo;
static UnlockFunc X11SD_Unlock;
static DisposeFunc X11SD_Dispose;