unifdef USL_SHAREDLIB

I can't find any history of this being set in the imake or autoconf builds

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
This commit is contained in:
Alan Coopersmith 2024-02-21 18:18:46 -08:00
parent 4400a68b3a
commit 7bb2a5050a

View file

@ -49,23 +49,8 @@ from The Open Group.
#define SetZero(t,var,z) t var
#endif
#ifdef USL_SHAREDLIB /* then need extra variables */
/*
* If we need to define extra variables for each global
*/
#define ZEROINIT(t,var,val) SetZero(t,var,val); \
SetZero (long, _libX_##var##Flag, 0); \
SetZero (void *, _libX_##var##Ptr, NULL)
#else /* else not USL_SHAREDLIB */
/*
* no extra crud
*/
#define ZEROINIT(t,var,val) SetZero (t, var, val)
#endif /* USL_SHAREDLIB */
/*
* Error handlers; used to be in XlibInt.c
*/