sysdefs.h | sysdefs.h | |||
---|---|---|---|---|
skipping to change at line 168 | skipping to change at line 168 | |||
#endif | #endif | |||
#ifdef HAVE_STRINGS_H | #ifdef HAVE_STRINGS_H | |||
# include <strings.h> | # include <strings.h> | |||
#endif | #endif | |||
#ifdef HAVE_MEMORY_H | #ifdef HAVE_MEMORY_H | |||
# include <memory.h> | # include <memory.h> | |||
#endif | #endif | |||
// As of MSVC 2013, inline and restrict are supported with | ||||
// non-standard keywords. | ||||
#if defined(_WIN32) && defined(_MSC_VER) | ||||
# ifndef inline | ||||
# define inline __inline | ||||
# endif | ||||
# ifndef restrict | ||||
# define restrict __restrict | ||||
# endif | ||||
#endif | ||||
//////////// | //////////// | |||
// Macros // | // Macros // | |||
//////////// | //////////// | |||
#undef memzero | #undef memzero | |||
#define memzero(s, n) memset(s, 0, n) | #define memzero(s, n) memset(s, 0, n) | |||
// NOTE: Avoid using MIN() and MAX(), because even conditionally defining | // NOTE: Avoid using MIN() and MAX(), because even conditionally defining | |||
// those macros can cause some portability trouble, since on some systems | // those macros can cause some portability trouble, since on some systems | |||
// the system headers insist defining their own versions. | // the system headers insist defining their own versions. | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 11 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |