X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/79a4463b1f151f15e60df3f57c1d3575acb0d444..47f77041d376b4144af4f41f93a71e083587fd22:/win32_test_app/include/TDefs.h diff --git a/win32_test_app/include/TDefs.h b/win32_test_app/include/TDefs.h index c88c444f4b..bd7a33817f 100644 --- a/win32_test_app/include/TDefs.h +++ b/win32_test_app/include/TDefs.h @@ -10,38 +10,38 @@ #else #define NULL ((void *)0) #endif -#endif /* #ifndef NULL*/ +#endif /* #ifndef NULL */ #if !defined(__cplusplus) && !defined(__BOOL_TYPE_DEFINED) typedef int bool; #define __BOOL_TYPE_DEFINED -#endif /* #ifndef __cplusplus*/ +#endif /* #ifndef __cplusplus */ #ifndef __SSIZE_TYPE_DEFINED typedef int ssize_t; #define __SSIZE_TYPE_DEFINED -#endif /* #ifndef __SSIZE_TYPE_DEFINED */ +#endif /* #ifndef __SSIZE_TYPE_DEFINED */ #ifndef true #define true 1 -#endif /* #ifndef true*/ +#endif /* #ifndef true */ #ifndef false #define false 0 -#endif /* #ifndef false*/ +#endif /* #ifndef false */ /* Asserts that a condition is true.*/ #define ASSERT(c) assert(c) /* Asserts that a pointer is not NULL.*/ -#define ASSERT_NOT_NULL(p) assert(NULL != p) +#define ASSERT_NOT_NULL(p) assert(NULL != (p)) /* Error number type (int) */ #ifndef __ERRNO_TYPE_DEFINED typedef int errno_t; #define __ERRNO_TYPE_DEFINED -#endif /* #ifndef __ERRNO_TYPE_DEFINED */ +#endif /* #ifndef __ERRNO_TYPE_DEFINED */ /* comment this line if you don't want activate the verbose mode. */ -#define __VERBOSE +#define __VERBOSE -#endif /* #ifndef __DEFS_H__ */ +#endif /* #ifndef __DEFS_H__ */