Kaynağa Gözat

Make Windows happy.

jcsyshc 2 yıl önce
ebeveyn
işleme
9ad0f152b9
2 değiştirilmiş dosya ile 9 ekleme ve 0 silme
  1. 1 0
      src/frame_receiver2.h
  2. 8 0
      src/main.cpp

+ 1 - 0
src/frame_receiver2.h

@@ -1,6 +1,7 @@
 #ifndef TINYPLAYER2_FRAME_RECEIVER2_H
 #define TINYPLAYER2_FRAME_RECEIVER2_H
 
+#include <string>
 #include <memory>
 
 class video_decoder;

+ 8 - 0
src/main.cpp

@@ -19,6 +19,14 @@
 
 #include <thread>
 
+#ifdef _MSC_VER
+
+#include <format>
+
+#define fmt std
+
+#endif
+
 // for renderer
 int monitor_index = 0;
 char *server_address;