From 81febe5d69ddd98f23ec645465500effdcddd1ae Mon Sep 17 00:00:00 2001 From: whitequark Date: Mon, 22 Jun 2020 02:51:26 +0000 Subject: Add WASI platform support to glucose. --- src/sat/glucose/IntTypes.h | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'src/sat/glucose/IntTypes.h') diff --git a/src/sat/glucose/IntTypes.h b/src/sat/glucose/IntTypes.h index 3f75862b..5c4176b2 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 -#else +#elif _WIN32 -#define __STDC_LIMIT_MACROS # include "pstdint.h" -//# include -#endif +#else -#include +# define __STDC_LIMIT_MACROS +# include +# include -#ifndef PRIu64 -#define PRIu64 "lu" -#define PRIi64 "ld" #endif + //================================================================================================= #include -- cgit v1.2.3