diff --git a/src/base/main/mainReal.c b/src/base/main/mainReal.c index 68c0c0322..a13be5e52 100644 --- a/src/base/main/mainReal.c +++ b/src/base/main/mainReal.c @@ -49,7 +49,9 @@ SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. #include #include #include +#if !defined(__wasm) #include +#endif #include #endif 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