Displaying 1 result from an estimated 1 matches for "969209e".
2013 Apr 06
2
Circular preprocessor define with MSVC
Hi,
in include/share/alloc.h there is this section:
#ifndef SIZE_MAX
# ifndef SIZE_T_MAX
# ifdef _MSC_VER
# define SIZE_T_MAX SIZE_MAX
# else
# error
# endif
# endif
# define SIZE_MAX SIZE_T_MAX
#endif
So, if we are on MSVC and have neither SIZE_MAX nor SIZE_T_MAX, we'll
define SIZE_T_MAX to mean SIZE_MAX and SIZE_MAX to mean SIZE_T_MAX.
I'm afraid this won't work ...
It