summaryrefslogtreecommitdiffstats
path: root/src/macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/macros.h')
-rw-r--r--src/macros.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/macros.h b/src/macros.h
index cb97d43833..4f3ad43f25 100644
--- a/src/macros.h
+++ b/src/macros.h
@@ -274,14 +274,17 @@
# ifdef MSWIN
# ifndef isnan
# define isnan(x) _isnan(x)
- static __inline int isinf(double x) { return !_finite(x) && !_isnan(x); }
+ static __inline int isinf(double x)
+ { return !_finite(x) && !_isnan(x); }
# endif
# else
# ifndef HAVE_ISNAN
- static inline int isnan(double x) { return x != x; }
+ static inline int isnan(double x)
+ { return x != x; }
# endif
# ifndef HAVE_ISINF
- static inline int isinf(double x) { return !isnan(x) && isnan(x - x); }
+ static inline int isinf(double x)
+ { return !isnan(x) && isnan(x - x); }
# endif
# endif
# if !defined(INFINITY)
@@ -335,7 +338,8 @@
*/
#define VIM_CLEAR(p) \
do { \
- if ((p) != NULL) { \
+ if ((p) != NULL) \
+ { \
vim_free(p); \
(p) = NULL; \
} \