fix: u_int32 not working on windows

This commit is contained in:
Flinner Yuu 2024-12-04 11:55:46 +03:00
parent c46805e77b
commit 3765500c7b
Signed by untrusted user: flinner
GPG Key ID: 95CE0DA7F0E58CA6
6 changed files with 4 additions and 6 deletions

View File

@ -5,7 +5,6 @@
#include <iostream> #include <iostream>
#include <optional> #include <optional>
#include <sstream> #include <sstream>
#include <sys/types.h>
#ifndef CLINIC_ #ifndef CLINIC_
#define CLINIC_ #define CLINIC_

View File

@ -25,7 +25,6 @@
#include <ostream> #include <ostream>
#include <sstream> #include <sstream>
#include <string> #include <string>
#include <sys/types.h>
#include <vector> #include <vector>
//////////////////////////////////// ////////////////////////////////////

View File

@ -6,7 +6,6 @@
#include <istream> #include <istream>
#include <ostream> #include <ostream>
#include <string> #include <string>
#include <sys/types.h>
#include <vector> #include <vector>
//////////////////////////////////// ////////////////////////////////////

View File

@ -1,7 +1,6 @@
#include <iostream> #include <iostream>
#include <istream> #include <istream>
#include <ostream> #include <ostream>
#include <sys/types.h>
#include "Visit.hpp" #include "Visit.hpp"

View File

@ -5,7 +5,10 @@
#include <istream> #include <istream>
#include <ostream> #include <ostream>
#include <string> #include <string>
#include <sys/types.h>
// Fix u_int_32_t not on windows
#include <cstdint>
typedef std::uint32_t u_int32_t;
class Visit { class Visit {
// clang-format off // clang-format off

View File

@ -7,7 +7,6 @@
#include <iostream> #include <iostream>
#include <optional> #include <optional>
#include <sstream> #include <sstream>
#include <sys/types.h>
int main() { int main() {
// this program implements the sieve of Erathosthenes using linked lists // this program implements the sieve of Erathosthenes using linked lists