]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
doc: cpp: fix version test example syntax
authorSam James <sam@gentoo.org>
Wed, 1 Jan 2025 17:16:17 +0000 (17:16 +0000)
committerSam James <sam@gentoo.org>
Wed, 1 Jan 2025 17:55:50 +0000 (17:55 +0000)
gcc/ChangeLog:

* doc/cpp.texi (Common Predefined Macros): Fix syntax.

gcc/doc/cpp.texi

index 970c0a3939718a45cb809331be18364536b788d2..4b0f2d9bb857a8a12a3cb3126d846bc5013478e0 100644 (file)
@@ -1974,7 +1974,7 @@ like this:
 #if __GNUC__ > 3 || \
     (__GNUC__ == 3 && (__GNUC_MINOR__ > 2 || \
                        (__GNUC_MINOR__ == 2 && \
-                        __GNUC_PATCHLEVEL__ > 0))
+                        __GNUC_PATCHLEVEL__ > 0)))
 @end smallexample
 
 @noindent