mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-22 20:11:40 +00:00
Add C syntax highlighting to readme
This commit is contained in:
parent
f2c61c14c4
commit
f1e077c532
1 changed files with 7 additions and 5 deletions
12
README.md
12
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 <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.
|
||||
|
|
Loading…
Reference in a new issue