-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gperf: Make c++ 17 (and ndk 26) compatible
See #17863
- Loading branch information
Showing
2 changed files
with
13 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff -u -r ../orig-src/lib/getline.cc ./lib/getline.cc | ||
--- ../orig-src/lib/getline.cc 2023-10-02 11:41:12.201611420 +0000 | ||
+++ ./lib/getline.cc 2023-10-02 11:43:12.677004096 +0000 | ||
@@ -55,7 +55,7 @@ | ||
|
||
for (;;) | ||
{ | ||
- register int c = getc (stream); | ||
+ int c = getc (stream); | ||
|
||
/* We always want at least one char left in the buffer, since we | ||
always (unless we get an error while reading the first char) |