summaryrefslogtreecommitdiffstats
path: root/lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib.h')
-rw-r--r--lib.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib.h b/lib.h
index bd05f1e2..0eaa77d7 100644
--- a/lib.h
+++ b/lib.h
@@ -452,12 +452,9 @@ INLINE val static_str(const wchli_t *str)
INLINE wchar_t *litptr(val obj)
{
-#if LIT_ALIGN < 4 && SIZEOF_WCHAR_T < 4
+#if LIT_ALIGN < 4
wchar_t *ret = coerce(wchar_t *, (coerce(cnum, obj) & ~TAG_MASK));
return (*ret == 0) ? ret + 1 : ret;
-#elif LIT_ALIGN < 4 && SIZEOF_WCHAR_T == 4
- short *ret = coerce(short *, (coerce(cnum, obj) & ~TAG_MASK));
- return coerce(wchar_t *, (*ret == 0) ? ret + 1 : ret);
#else
return coerce(wchar_t *, coerce(cnum, obj) & ~TAG_MASK);
#endif