mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-05 02:38:31 +00:00
Replace COSMO define with _COSMO_SOURCE
This change might cause ABI breakages for /opt/cosmos. It's needed to help us better conform to header declaration practices.
This commit is contained in:
parent
a033b65a33
commit
c776a32f75
238 changed files with 858 additions and 1069 deletions
|
@ -705,7 +705,7 @@ static void LoadRanges(void) {
|
|||
case 0:
|
||||
if (isxdigit(b[i])) {
|
||||
range.a <<= 4;
|
||||
range.a += hextoint(b[i]);
|
||||
range.a += kHexToInt[b[i] & 255];
|
||||
} else if (b[i] == '-') {
|
||||
t = 1;
|
||||
}
|
||||
|
@ -713,7 +713,7 @@ static void LoadRanges(void) {
|
|||
case 1:
|
||||
if (isxdigit(b[i])) {
|
||||
range.b <<= 4;
|
||||
range.b += hextoint(b[i]);
|
||||
range.b += kHexToInt[b[i] & 255];
|
||||
} else if (b[i] == ' ') {
|
||||
t = 2;
|
||||
}
|
||||
|
@ -771,7 +771,7 @@ static void Render(void) {
|
|||
p = FormatInt64(p, fg);
|
||||
*p++ = 'm';
|
||||
}
|
||||
w = _tpenc(kCp437[c]);
|
||||
w = tpenc(kCp437[c]);
|
||||
do {
|
||||
*p++ = w & 0xff;
|
||||
w >>= 8;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue