Fix compiling when KEY_WOW64_32KEY is missing from system headers

This commit is contained in:
Zack Middleton 2017-05-24 08:44:21 -05:00
parent f4739e9c4d
commit fbada2caf6
1 changed files with 4 additions and 0 deletions

View File

@ -39,6 +39,10 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include <psapi.h> #include <psapi.h>
#include <float.h> #include <float.h>
#ifndef KEY_WOW64_32KEY
#define KEY_WOW64_32KEY 0x0200
#endif
// Used to determine where to store user-specific files // Used to determine where to store user-specific files
static char homePath[ MAX_OSPATH ] = { 0 }; static char homePath[ MAX_OSPATH ] = { 0 };