restore include paths for cross-platform builds because i messed absolutely every #include up. dont worry that everything is modified, all i did was normalize line endings because CLRF snuck into the repo and this prevents fake diffs

This commit is contained in:
2026-03-24 19:07:55 -04:00
parent 7d485fdcd7
commit bfecad40be
1340 changed files with 264990 additions and 264996 deletions

View File

@@ -1,25 +1,25 @@
#include <stdio.h>
#include <string.h>
#ifdef __cplusplus
extern "C" {
#endif
char * Gets ( char * str, int num )
{
fgets(str, num, stdin);
if (str[0]=='\n' || str[0]=='\r')
str[0]=0;
size_t len=strlen(str);
if (len>0 && (str[len-1]=='\n' || str[len-1]=='\r'))
str[len-1]=0;
if (len>1 && (str[len-2]=='\n' || str[len-2]=='\r'))
str[len-2]=0;
return str;
}
#ifdef __cplusplus
}
#endif
#include <stdio.h>
#include <string.h>
#ifdef __cplusplus
extern "C" {
#endif
char * Gets ( char * str, int num )
{
fgets(str, num, stdin);
if (str[0]=='\n' || str[0]=='\r')
str[0]=0;
size_t len=strlen(str);
if (len>0 && (str[len-1]=='\n' || str[len-1]=='\r'))
str[len-1]=0;
if (len>1 && (str[len-2]=='\n' || str[len-2]=='\r'))
str[len-2]=0;
return str;
}
#ifdef __cplusplus
}
#endif