mirror of
https://gitlab.freedesktop.org/xorg/lib/libx11.git
synced 2025-12-20 04:40:10 +01:00
unifdef Lynx
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
This commit is contained in:
parent
1e56b27429
commit
4400a68b3a
4 changed files with 2 additions and 10 deletions
|
|
@ -44,7 +44,7 @@
|
|||
#define MB_LEN_MAX 6
|
||||
#endif
|
||||
|
||||
#if !defined(Lynx_22) && !defined(X_LOCALE)
|
||||
#ifndef X_LOCALE
|
||||
#define STDCVT
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@
|
|||
#include "XlcGeneric.h"
|
||||
#include <stdio.h>
|
||||
|
||||
#if !defined(Lynx_22) && !defined(X_LOCALE)
|
||||
#ifndef X_LOCALE
|
||||
#define STDCVT
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -239,10 +239,6 @@ static void _putbits(
|
|||
*
|
||||
*/
|
||||
|
||||
#if defined(Lynx) && defined(ROUNDUP)
|
||||
#undef ROUNDUP
|
||||
#endif
|
||||
|
||||
#define ROUNDUP(nbytes, pad) ((((nbytes) + ((pad)-1)) / (pad)) * ((pad)>>3))
|
||||
|
||||
#define XYNORMALIZE(bp, img) \
|
||||
|
|
|
|||
|
|
@ -41,10 +41,6 @@ in this Software without prior written authorization from The Open Group.
|
|||
#define RConst const
|
||||
#endif
|
||||
|
||||
#if defined(Lynx) && defined(ROUNDUP)
|
||||
#undef ROUNDUP
|
||||
#endif
|
||||
|
||||
/* assumes pad is a power of 2 */
|
||||
#define ROUNDUP(nbytes, pad) (((nbytes) + ((pad) - 1)) & ~(long)((pad) - 1))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue