Add C syntax highlighting to readme

This commit is contained in:
Happy authored and GitHub committed 2020-04-07 08:18:15 -07:00
1 parent f2c61c14c4
commit f1e077c532
1 file changed
+7 -5
+7 -5
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.