aboutsummaryrefslogtreecommitdiff
path: root/ports/windows/mpconfigport.h
diff options
context:
space:
mode:
Diffstat (limited to 'ports/windows/mpconfigport.h')
-rw-r--r--ports/windows/mpconfigport.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/ports/windows/mpconfigport.h b/ports/windows/mpconfigport.h
index 2efcf6b15..e447e692e 100644
--- a/ports/windows/mpconfigport.h
+++ b/ports/windows/mpconfigport.h
@@ -142,15 +142,15 @@ extern const struct _mp_print_t mp_stderr_print;
// type definitions for the specific machine
-#if defined( __MINGW32__ ) && defined( __LP64__ )
+#if defined(__MINGW32__) && defined(__LP64__)
typedef long mp_int_t; // must be pointer size
typedef unsigned long mp_uint_t; // must be pointer size
-#elif defined ( __MINGW32__ ) && defined( _WIN64 )
+#elif defined(__MINGW32__) && defined(_WIN64)
#include <stdint.h>
typedef __int64 mp_int_t;
typedef unsigned __int64 mp_uint_t;
#define MP_SSIZE_MAX __INT64_MAX__
-#elif defined ( _MSC_VER ) && defined( _WIN64 )
+#elif defined(_MSC_VER) && defined(_WIN64)
typedef __int64 mp_int_t;
typedef unsigned __int64 mp_uint_t;
#else
@@ -206,7 +206,7 @@ extern const struct _mp_obj_module_t mp_module_time;
// Sanity check
-#if ( _MSC_VER < 1800 )
+#if (_MSC_VER < 1800)
#error Can only build with Visual Studio 2013 toolset
#endif