unifdef Lynx

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
This commit is contained in:
Alan Coopersmith 2024-02-17 15:37:41 -08:00
parent 1e56b27429
commit 4400a68b3a
4 changed files with 2 additions and 10 deletions

View file

@ -44,7 +44,7 @@
#define MB_LEN_MAX 6
#endif
#if !defined(Lynx_22) && !defined(X_LOCALE)
#ifndef X_LOCALE
#define STDCVT
#endif

View file

@ -53,7 +53,7 @@
#include "XlcGeneric.h"
#include <stdio.h>
#if !defined(Lynx_22) && !defined(X_LOCALE)
#ifndef X_LOCALE
#define STDCVT
#endif

View file

@ -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) \

View file

@ -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))