mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-19 12:44:55 -04:00
compile and run in windows (improvements needed)
This commit is contained in:
parent
f55f92a88b
commit
f70b29abab
83 changed files with 415 additions and 3747 deletions
|
@ -1,7 +1,7 @@
|
|||
#include "platform.h"
|
||||
|
||||
#include <ctype.h>
|
||||
int stricmp(const char *a, const char *b) {
|
||||
int istrcmp(const char *a, const char *b) {
|
||||
while (*a && *b) {
|
||||
char ca = toupper(*a);
|
||||
char cb = toupper(*b);
|
||||
|
@ -15,7 +15,7 @@ int stricmp(const char *a, const char *b) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
void strupr(char *c) {
|
||||
void strupper(char *c) {
|
||||
while (*c) {
|
||||
*c = toupper(*c);
|
||||
++c;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue