aboutsummaryrefslogtreecommitdiff
path: root/ports/windows
diff options
context:
space:
mode:
authorDamien George2020-03-27 00:35:04 +1100
committerDamien George2020-03-28 23:36:44 +1100
commit1a3e386c67e03a79eb768cb6e9f6777e002d6660 (patch)
tree7e0b0620744e738bb281eb1c032b21a53558b8c0 /ports/windows
parentb56caaf104a196902efb23f324f7e290c6f3d291 (diff)
all: Remove spaces inside and around parenthesis.
Using new options enabled in the uncrustify configuration.
Diffstat (limited to 'ports/windows')
-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