~oriansj/M2-Mesoplanet

e7f16083c3a5d28d6a13cc97974ef3161acab28a — Jeremiah Orians 9 months ago c80645f
Ignore uefi files if Linux; ignore linux files if uefi
2 files changed, 32 insertions(+), 2 deletions(-)

M M2libc
M cc_reader.c
M M2libc => M2libc +1 -1
@@ 1,1 1,1 @@
Subproject commit de7c75f144176c3b9be77695d9bf94440445aeae
Subproject commit 479d53d78cb46f2da6efdad18e1cc87a46cce097

M cc_reader.c => cc_reader.c +31 -1
@@ 362,7 362,37 @@ int include_file(int ch, int include_file)
		strcat(hold_string, "/");
		strcat(hold_string, new_filename + 1);
		strcat(new_filename, ">");
		new_file = fopen(hold_string, "r");
		if(match("Linux", OperatingSystem))
		{
			if(NULL == strstr(hold_string, "uefi"))
			{
				new_file = fopen(hold_string, "r");
			}
			else
			{
				puts("skipping:");
				puts(hold_string);
				return ch;
			}
		}
		else if(match("uefi", OperatingSystem))
		{
			if(NULL == strstr(hold_string, "linux"))
			{
				new_file = fopen(hold_string, "r");
			}
			else
			{
				puts("skipping:");
				puts(hold_string);
				return ch;
			}
		}
		else
		{
			puts("unknown host");
			exit(EXIT_FAILURE);
		}
	}
	else
	{