From f1e077c532602211b8569fc676df2c8b81b876d5 Mon Sep 17 00:00:00 2001 From: Happy <54226355+HappyFacade@users.noreply.github.com> Date: Tue, 7 Apr 2020 08:18:15 -0700 Subject: [PATCH] Add C syntax highlighting to readme --- README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 5e16a3da..f0b1b08b 100644 --- a/README.md +++ b/README.md @@ -359,11 +359,13 @@ value in the prototype with intptr_t (arg0, arg1, ...stay int). Add the following code snippet to q_shared.h: - #ifdef Q3_VM - typedef int intptr_t; - #else - #include - #endif +```c +#ifdef Q3_VM +typedef int intptr_t; +#else +#include +#endif +``` Note if you simply wish to run mods on a 64bit platform you do not need to recompile anything since by default Q3 uses a virtual machine system.