mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 05:10:49 +00:00
fix HPUX bustage - HP already has MIN, MAX, TRUE, and FALSE defined
This commit is contained in:
parent
cbe84d0855
commit
683a48a72c
@ -34,6 +34,10 @@ typedef struct {
|
||||
short x, y, width, height;
|
||||
}RECTANGLE, RectangleRec, *RectanglePtr;
|
||||
|
||||
#ifdef TRUE
|
||||
#undef TRUE
|
||||
#endif
|
||||
|
||||
#define TRUE 1
|
||||
#ifndef FALSE
|
||||
#define FALSE 0
|
||||
|
@ -20,6 +20,14 @@
|
||||
#include "nsString.h"
|
||||
#include "nsUnitConversion.h"
|
||||
|
||||
#ifdef MIN
|
||||
#undef MIN
|
||||
#endif
|
||||
|
||||
#ifdef MAX
|
||||
#undef MAX
|
||||
#endif
|
||||
|
||||
#define MIN(a,b)\
|
||||
((a) < (b) ? (a) : (b))
|
||||
#define MAX(a,b)\
|
||||
|
Loading…
x
Reference in New Issue
Block a user