fix weird CImg bug

This commit is contained in:
Aaron Liu 2024-02-01 17:49:14 -05:00
parent 7573de8a61
commit e358e372ec
No known key found for this signature in database
GPG key ID: 2D4DA57B12065A35

View file

@ -45,6 +45,9 @@
// CImg, the superior grafiks library // CImg, the superior grafiks library
#define cimg_display 0 #define cimg_display 0
#include "CImg.h" #include "CImg.h"
// CImg defines its own min and max macros to compile, so we need to undef them
#undef min
#undef max
// First include for detecting console output size, // First include for detecting console output size,
// everything else for exit codes // everything else for exit codes