Update README.md
This commit is contained in:
parent
de5f8ad7d2
commit
e0a7768442
@ -24,6 +24,12 @@ int main()
|
||||
}
|
||||
```
|
||||
|
||||
#### Best practice for using `ruapu.h` in multiple compilation units
|
||||
|
||||
1. Create one `ruapu.c` for your project
|
||||
2. `ruapu.c` is **ONLY** `#define RUAPU_IMPLEMENTATION` and `#include "ruapu.h"`
|
||||
3. Other sources `#include "ruapu.h"` but **NO** `#define RUAPU_IMPLEMENTATION`
|
||||
|
||||
</td></tr>
|
||||
<tr><td>OS</td><td>✅ Windows<br/>✅ Linux<br/>✅ macOS<br/>✅ Android<br/>✅ iOS<br/>✅ FreeBSD<br/>✅ NetBSD<br/>✅ OpenBSD</td></tr>
|
||||
<tr><td>Compiler</td><td>✅ GCC<br/>✅ Clang<br/>✅ MSVC<br/>✅ MinGW</td></tr>
|
||||
|
Loading…
Reference in New Issue
Block a user