Skip to content

Commit

Permalink
Indicate blank lines are part of the comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jmroot committed Nov 21, 2022
1 parent 783604d commit 08106d7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Include/pymacro.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
// defined, <sys/cdefs.h> disables C11 support and <assert.h> does not define
// the static_assert() macro.
// https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255290

//
// macOS <= 10.10 doesn't define static_assert in assert.h at all despite
// having C11 compiler support.

//
// static_assert is defined in glibc from version 2.16. Compiler support for
// the C11 _Static_assert keyword is in gcc >= 4.6.

//
// MSVC makes static_assert a keyword, contrary to the C standard.

//
// In C++ 11 static_assert is a keyword, redefining is undefined behaviour.
#if !defined(static_assert) && !defined(_MSC_VER) \
&& !(defined(__cplusplus) && __cplusplus >= 201103L)
Expand Down

0 comments on commit 08106d7

Please sign in to comment.