From 81febe5d69ddd98f23ec645465500effdcddd1ae Mon Sep 17 00:00:00 2001 From: whitequark Date: Mon, 22 Jun 2020 02:51:26 +0000 Subject: [PATCH] Add WASI platform support to glucose. --- src/sat/glucose/IntTypes.h | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/src/sat/glucose/IntTypes.h b/src/sat/glucose/IntTypes.h index 3f75862b1..5c4176b29 100644 --- a/src/sat/glucose/IntTypes.h +++ b/src/sat/glucose/IntTypes.h @@ -28,20 +28,18 @@ OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWA # include # include +#elif _WIN32 + +# include "pstdint.h" + #else -#define __STDC_LIMIT_MACROS -# include "pstdint.h" -//# include +# define __STDC_LIMIT_MACROS +# include +# include #endif -#include - -#ifndef PRIu64 -#define PRIu64 "lu" -#define PRIi64 "ld" -#endif //================================================================================================= #include