adopt for new MinGW

This commit is contained in:
2025-01-06 12:55:44 +03:00
parent 15548de79c
commit f334a6603f
6 changed files with 10 additions and 5 deletions

View File

@@ -20,17 +20,19 @@
#include "piincludes_p.h"
#include "piliterals_time.h"
// clang-format off
#ifndef WINDOWS
# include <fcntl.h>
# include <sys/ioctl.h>
# include <termios.h>
#else
# include <wincon.h>
# include <wingdi.h>
# include <wincon.h>
# ifndef COMMON_LVB_UNDERSCORE
# define COMMON_LVB_UNDERSCORE 0x8000
# endif
#endif
// clang-format on
using namespace PIScreenTypes;