mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2025-02-17 01:21:47 +00:00
Merge pull request #447 from HappyFacade/patch-1
Add C syntax highlighting to readme
This commit is contained in:
commit
2b42f0bdab
1 changed files with 7 additions and 5 deletions
12
README.md
12
README.md
|
@ -380,11 +380,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