Add C syntax highlighting to readme

This commit is contained in:
Happy 2020-04-07 08:18:15 -07:00 committed by GitHub
parent f2c61c14c4
commit f1e077c532
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 <stdint.h>
#endif
```c
#ifdef Q3_VM
typedef int intptr_t;
#else
#include <stdint.h>
#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.