From 7716b52888eae388a80e5b1dffdc2145434ba481 Mon Sep 17 00:00:00 2001
From: Maksim Bondarenkov <maksapple2306@gmail.com>
Date: Tue, 13 Aug 2024 20:36:14 +0300
Subject: [PATCH] libcdio: fix MSVC-only definition according to the comment it
 should be defined for MSVC only. fixes UCRT build

---
 src/libcdio/config.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/libcdio/config.h b/src/libcdio/config.h
index b0ee3c99..d50953ea 100644
--- a/src/libcdio/config.h
+++ b/src/libcdio/config.h
@@ -40,7 +40,9 @@
 /* Define to 1 if you have the `fseeko64' function. */
 #define HAVE_FSEEKO64 1
 /* The equivalent of fseeko64 for MSVC is _fseeki64 */
+#if defined(_MSC_VER)
 #define fseeko64 _fseeki64
+#endif
 
 /* Define to 1 if you have the `ftruncate' function. */
 /* #undef HAVE_FTRUNCATE */