Skip to content

Commit

Permalink
hopefully this fixes gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronliu0130 authored Jan 25, 2024
1 parent 077b0e9 commit 7e69848
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions src/tiv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,25 @@
* limitations under the License.
*/

#include <array>
#include <bitset>
#include <cmath>
#include <filesystem>
#include <format>
#include <fstream>
#include <iostream>
#include <map>
#include <string>
#include <vector>

// This #define tells CImg that we use the library without any display options,
// just for loading images.
#define cimg_display 0
#include "CImg.h"
// CImg defines its own min and max macros to compile, so we need to undef them
#undef min
#undef max

#ifdef _POSIX_VERSION
// Console output size detection
#include <sys/ioctl.h>
Expand All @@ -61,25 +80,6 @@
#define EX_CONFIG 78 /* configuration error */
#endif

#include <array>
#include <bitset>
#include <cmath>
#include <filesystem>
#include <format>
#include <fstream>
#include <iostream>
#include <map>
#include <string>
#include <vector>

// This #define tells CImg that we use the library without any display options,
// just for loading images.
#define cimg_display 0
#include "CImg.h"
// CImg defines its own min and max macros to compile, so we need to undef them
#undef min
#undef max

// @TODO: Convert to bitset
// Implementation of flag representation for flags in the main() method
constexpr int FLAG_FG = 1; // emit fg color
Expand Down

0 comments on commit 7e69848

Please sign in to comment.