fix: u_int32 not working on windows
This commit is contained in:
parent
c46805e77b
commit
3765500c7b
|
@ -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_
|
||||||
|
|
|
@ -25,7 +25,6 @@
|
||||||
#include <ostream>
|
#include <ostream>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <sys/types.h>
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
////////////////////////////////////
|
////////////////////////////////////
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
#include <istream>
|
#include <istream>
|
||||||
#include <ostream>
|
#include <ostream>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <sys/types.h>
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
////////////////////////////////////
|
////////////////////////////////////
|
||||||
|
|
|
@ -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"
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
1
main.cpp
1
main.cpp
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue