Browse Source

Fix macro naming in libc_compat

These includes belong to ucrt (C runtime library, being a part of Windows SDK), not to MSVC compiler.
thegeorg 2 years ago
parent
commit
cabc63393f
1 changed files with 3 additions and 3 deletions
  1. 3 3
      contrib/libs/libc_compat/reallocarray/stdlib.h

+ 3 - 3
contrib/libs/libc_compat/reallocarray/stdlib.h

@@ -4,9 +4,9 @@
 #if defined(__GNUC__) || defined(__clang__)
     #include_next <stdlib.h>
 #else
-    #define Y_MSVC_INCLUDE_NEXT(x) <Y_UCRT_INCLUDE/x>
-    #include Y_MSVC_INCLUDE_NEXT(stdlib.h)
-    #undef Y_MSVC_INCLUDE_NEXT
+    #define Y_UCRT_INCLUDE_NEXT(x) <Y_UCRT_INCLUDE/x>
+    #include Y_UCRT_INCLUDE_NEXT(stdlib.h)
+    #undef Y_UCRT_INCLUDE_NEXT
 #endif
 
 #ifdef __cplusplus