Changeset 83a374d in buchla-68k
- Timestamp:
- 11/12/2017 09:57:10 PM (7 years ago)
- Branches:
- master
- Children:
- ca867c1
- Parents:
- 8438fb1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
include/ctype.h
r8438fb1 r83a374d 41 41 #pragma once 42 42 43 #include "stdint.h" 44 43 45 /* Digital Research / Alcyon C table definitions */ 44 46 … … 73 75 #define iscsymf(c) (isalpha(c) || (((c) & 0x7f) == 0x5f)) 74 76 75 #define toascii(c) (( c) & 0x7f)77 #define toascii(c) ((int8_t)((c) & 0x7f)) 76 78 77 #define _toupper(c) (( c) - 'a' + 'A')78 #define _tolower(c) (( c) - 'A' + 'a')79 #define _toupper(c) ((int8_t)((c) - 'a' + 'A')) 80 #define _tolower(c) ((int8_t)((c) - 'A' + 'a'))
Note:
See TracChangeset
for help on using the changeset viewer.