VS2010 buildfixes.

The main issue was mostly that we have to build C files as C++ in some
cases, and extern "C" wasn't being used everywhere, so linker errors
popped up. The rest is the usual tedious VS2010 stuff like casting void*
to other stuff, so this commit as a whole is pretty boring!
This commit is contained in:
Ethan Lee
2023-11-27 12:09:42 -05:00
parent 4725bc4d5e
commit 8426e0930d
6 changed files with 30 additions and 15 deletions
+1 -1
View File
@@ -108,5 +108,5 @@ const char* textbook_store(Textbook* textbook, const char* text)
return "";
}
return textbook_store_raw(textbook, text, SDL_strlen(text)+1);
return (const char*) textbook_store_raw(textbook, text, SDL_strlen(text)+1);
}