mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-20 04:20:49 +00:00
Add "Detect Platform" section in src/README
This commit is contained in:
parent
b859e4a48f
commit
6f518f0b06
@ -67,3 +67,19 @@ following extra commands available:
|
||||
test the anticrash feature or your need a memory dump file.
|
||||
* `Ctrl+Alt+Shift+R`: recover the active document from the data
|
||||
recovery store.
|
||||
|
||||
# Detect Platform
|
||||
|
||||
You can check the platform using the following checks:
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifdef _WIN64
|
||||
// Windows x64
|
||||
#else
|
||||
// Windows x86
|
||||
#endif
|
||||
#elif defined(__APPLE__)
|
||||
// macOS
|
||||
#else
|
||||
// Linux
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user