<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">diff --git a/lib/libc/stdio/wcio.h b/lib/libc/stdio/wcio.h
index 7fb7711dff24..af09366657cc 100644
--- a/lib/libc/stdio/wcio.h
+++ b/lib/libc/stdio/wcio.h
@@ -49,7 +49,7 @@ struct wchar_io_data {
 #define _SET_ORIENTATION(fp, mode) \
 do {\
 	struct wchar_io_data *_wcio = WCIO_GET(fp);\
-	if (_wcio &amp;&amp; _wcio-&gt;wcio_mode == 0)\
+        if (_EXT(fp) &amp;&amp; _wcio-&gt;wcio_mode == 0) \
 		_wcio-&gt;wcio_mode = (mode);\
 } while (/*CONSTCOND*/0)
 
</pre></body></html>