diff options
author | Mike Erwin <significant.bit@gmail.com> | 2011-08-07 20:44:10 +0400 |
---|---|---|
committer | Mike Erwin <significant.bit@gmail.com> | 2011-08-07 20:44:10 +0400 |
commit | 479c203dad2868da012bff884dade573d6254993 (patch) | |
tree | 0307f20b2210b094b750164547fd3bdff9f29ebe /intern/ghost/intern/GHOST_NDOFManagerCocoa.mm | |
parent | 6a0bbfd0e47e81fcb66cc91291adbcf1e6e87284 (diff) |
stricter WITH_INPUT_NDOF guards, general cleanup
Diffstat (limited to 'intern/ghost/intern/GHOST_NDOFManagerCocoa.mm')
-rw-r--r-- | intern/ghost/intern/GHOST_NDOFManagerCocoa.mm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/intern/ghost/intern/GHOST_NDOFManagerCocoa.mm b/intern/ghost/intern/GHOST_NDOFManagerCocoa.mm index 53a991a7396..1d90b6daa68 100644 --- a/intern/ghost/intern/GHOST_NDOFManagerCocoa.mm +++ b/intern/ghost/intern/GHOST_NDOFManagerCocoa.mm @@ -22,7 +22,9 @@ * * ***** END GPL LICENSE BLOCK ***** */ - + +#ifdef WITH_INPUT_NDOF + #include "GHOST_NDOFManagerCocoa.h" #include "GHOST_SystemCocoa.h" @@ -170,3 +172,5 @@ bool GHOST_NDOFManagerCocoa::available() return InstallConnexionHandlers != NULL; // this means that the driver is installed and dynamically linked to blender } + +#endif // WITH_INPUT_NDOF |