compile and run in windows (improvements needed)

This commit is contained in:
Ondrej Novak 2025-02-08 09:19:55 +01:00
parent f55f92a88b
commit f70b29abab
83 changed files with 415 additions and 3747 deletions

View file

@ -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;