Skip to content

Commit

Permalink
Add "Detect Platform" section in src/README
Browse files Browse the repository at this point in the history
  • Loading branch information
dacap committed Sep 22, 2017
1 parent b859e4a commit 6f518f0
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 6f518f0

Please sign in to comment.