diff for duplicates of <200901211313.17394.arnd@arndb.de> diff --git a/a/1.txt b/N1/1.txt index d5dc141..983567e 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,28 +1,20 @@ On Wednesday 21 January 2009, Sam Ravnborg wrote: > Could we add a new symbol for this? -> We know we are going to use this in several places so a simpler varia= -nt +> We know we are going to use this in several places so a simpler variant > would be more readable. ->=20 +> > Something like: ->=20 +> > #ifdef __64BIT > ... > #endif ->=20 -> When we define __64BIT we would use the =A0__BITS_PER_LONG =3D=3D 64 = -check. +> +> When we define __64BIT we would use the __BITS_PER_LONG == 64 check. -I would prefer using the __BITS_PER_LONG =3D=3D 64 check directly, beca= -use +I would prefer using the __BITS_PER_LONG == 64 check directly, because it gives you a warning when __BITS_PER_LONG is undefined, whereas the #ifdef check gets easily fooled by include order problems. Note that this is not a problem in the kernel for CONFIG_* symbols which are always defined before the first #include. Arnd <>< --- -To unsubscribe from this list: send the line "unsubscribe linux-parisc"= - in -the body of a message to majordomo@vger.kernel.org -More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/a/content_digest b/N1/content_digest index d24b017..f2b666a 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -17,31 +17,23 @@ "b\0" "On Wednesday 21 January 2009, Sam Ravnborg wrote:\n" "> Could we add a new symbol for this?\n" - "> We know we are going to use this in several places so a simpler varia=\n" - "nt\n" + "> We know we are going to use this in several places so a simpler variant\n" "> would be more readable.\n" - ">=20\n" + "> \n" "> Something like:\n" - ">=20\n" + "> \n" "> #ifdef __64BIT\n" "> ...\n" "> #endif\n" - ">=20\n" - "> When we define __64BIT we would use the =A0__BITS_PER_LONG =3D=3D 64 =\n" - "check.\n" + "> \n" + "> When we define __64BIT we would use the \302\240__BITS_PER_LONG == 64 check.\n" "\n" - "I would prefer using the __BITS_PER_LONG =3D=3D 64 check directly, beca=\n" - "use\n" + "I would prefer using the __BITS_PER_LONG == 64 check directly, because\n" "it gives you a warning when __BITS_PER_LONG is undefined, whereas the\n" "#ifdef check gets easily fooled by include order problems. Note that\n" "this is not a problem in the kernel for CONFIG_* symbols which are\n" "always defined before the first #include.\n" "\n" - "\tArnd <><\n" - "--\n" - "To unsubscribe from this list: send the line \"unsubscribe linux-parisc\"=\n" - " in\n" - "the body of a message to majordomo@vger.kernel.org\n" - More majordomo info at http://vger.kernel.org/majordomo-info.html + "\tArnd <><" -7826d0ba532d1587db6c81c1770f8c25eb8d03a3e5de19ba5106d48736c0e565 +8d3276aa4de31ea2afbe13ba8fb7cbed5961fc399f4bb082248969b1a92e6e20
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.