diff options
author | inmarket <andrewh@inmarket.com.au> | 2015-07-08 13:57:00 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2015-07-08 13:57:00 +1000 |
commit | 57156a3636aa92423b8e86fe1b2740550d01b7b6 (patch) | |
tree | 0c0b4488c0ba43fe8e1d180c8a0827c57efcfdbd /src/gos/gos_options.h | |
parent | 93e523512479e6dc5f60fb0fb9bcf63696acd49a (diff) | |
parent | 8318e8dc29c571f56742df6ea81d2f8298127826 (diff) | |
download | uGFX-57156a3636aa92423b8e86fe1b2740550d01b7b6.tar.gz uGFX-57156a3636aa92423b8e86fe1b2740550d01b7b6.tar.bz2 uGFX-57156a3636aa92423b8e86fe1b2740550d01b7b6.zip |
Merge branch 'master' into Alternate_Raw32_Scheduler
Diffstat (limited to 'src/gos/gos_options.h')
-rw-r--r-- | src/gos/gos_options.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gos/gos_options.h b/src/gos/gos_options.h index 2f896508..8fb4f51b 100644 --- a/src/gos/gos_options.h +++ b/src/gos/gos_options.h @@ -82,6 +82,18 @@ * @name GOS Optional Parameters * @{ */ + /** + * @brief Enable compiler specific code + * @details Defaults to GFX_COMPILER_UNKNOWN + * @note This is setting enables optimisations that are compiler specific. It does + * not need to be specified as reasonable defaults and various auto-detection + * will happen as required. + */ + #ifndef GFX_COMPILER + #define GFX_COMPILER GFX_COMPILER_UNKNOWN + #endif + #define GFX_COMPILER_UNKNOWN 0 // Unknown compiler + #define GFX_COMPILER_MINGW32 1 // MingW32 (x86) compiler for windows /** * @brief Should uGFX avoid initializing the operating system * @details Defaults to FALSE |