Skip to content

Commit

Permalink
remove left-overs from gulrak filesystem
Browse files Browse the repository at this point in the history
  • Loading branch information
arvidn authored and hoffmang9 committed Nov 11, 2020
1 parent f85948d commit 19af397
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 26 deletions.
6 changes: 0 additions & 6 deletions src/disk.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,6 @@

using namespace std::chrono_literals; // for operator""min;

#ifdef _WIN32
#include <windows.h>
#define _HAS_STD_BYTE 0
#define NOMINMAX
#endif

#include "chia_filesystem.hpp"

#include "./bits.hpp"
Expand Down
4 changes: 0 additions & 4 deletions src/phase1.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@
#include <memory>
#include <mutex>

// Gulrak filesystem brings in Windows headers that cause some issues with std
#define _HAS_STD_BYTE 0
#define NOMINMAX

#include "chia_filesystem.hpp"

#include "calculate_bucket.hpp"
Expand Down
4 changes: 0 additions & 4 deletions src/plotter_disk.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@
#include <vector>
#include <memory>

// Gulrak filesystem brings in Windows headers that cause some issues with std
#define _HAS_STD_BYTE 0
#define NOMINMAX

#include "chia_filesystem.hpp"

#include "calculate_bucket.hpp"
Expand Down
4 changes: 0 additions & 4 deletions src/quicksort.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@
#include <vector>
#include <memory>

// Gulrak filesystem brings in Windows headers that cause some issues with std
#define _HAS_STD_BYTE 0
#define NOMINMAX

#include "util.hpp"

namespace QuickSort {
Expand Down
4 changes: 0 additions & 4 deletions src/sort_manager.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@
#include <string>
#include <vector>

// Gulrak filesystem brings in Windows headers that cause some issues with std
#define _HAS_STD_BYTE 0
#define NOMINMAX

#include "chia_filesystem.hpp"

#include "./bits.hpp"
Expand Down
4 changes: 4 additions & 0 deletions src/threading.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
#define CHIAPOS_THREADING_HPP

#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
#define VC_EXTRALEAN
#define STRICT
#include <windows.h>
#elif __APPLE__
#include <unistd.h>
#include <dispatch/dispatch.h>
Expand Down
4 changes: 0 additions & 4 deletions src/uniformsort.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@
#include <string>
#include <vector>

// Gulrak filesystem brings in Windows headers that cause some issues with std
#define _HAS_STD_BYTE 0
#define NOMINMAX

#include "./disk.hpp"
#include "./util.hpp"

Expand Down

0 comments on commit 19af397

Please sign in to comment.