Darwin: Dead coded removal
Kill off assert macro (cherry picked from commit d6493abedb2caf03b2bc3a6440b637df67eff081)
This commit is contained in:
parent
8a8239f2e2
commit
c238ef06a2
|
@ -52,12 +52,6 @@ int DarwinParseModifierList(const char *constmodifiers);
|
||||||
void DarwinAdjustScreenOrigins(ScreenInfo *pScreenInfo);
|
void DarwinAdjustScreenOrigins(ScreenInfo *pScreenInfo);
|
||||||
void xf86SetRootClip (ScreenPtr pScreen, BOOL enable);
|
void xf86SetRootClip (ScreenPtr pScreen, BOOL enable);
|
||||||
|
|
||||||
#undef assert
|
|
||||||
#define assert(x) { if ((x) == 0) \
|
|
||||||
FatalError("assert failed on line %d of %s!\n", __LINE__, __FILE__); }
|
|
||||||
#define kern_assert(x) { if ((x) != KERN_SUCCESS) \
|
|
||||||
FatalError("assert failed on line %d of %s with kernel return 0x%x!\n", \
|
|
||||||
__LINE__, __FILE__, x); }
|
|
||||||
#define SCREEN_PRIV(pScreen) \
|
#define SCREEN_PRIV(pScreen) \
|
||||||
((DarwinFramebufferPtr)pScreen->devPrivates[darwinScreenIndex].ptr)
|
((DarwinFramebufferPtr)pScreen->devPrivates[darwinScreenIndex].ptr)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue