diff --git a/src/include/switch_platform.h b/src/include/switch_platform.h index dfd8c012bc..e0cf9cd51b 100644 --- a/src/include/switch_platform.h +++ b/src/include/switch_platform.h @@ -268,7 +268,7 @@ typedef intptr_t switch_ssize_t; #endif -#if UINTPTR_MAX == 0xffffffffffffffff +#if UINTPTR_MAX == 0xffffffffffffffff || defined(_WIN64) #define FS_64BIT 1 #endif diff --git a/src/include/switch_version.h.template b/src/include/switch_version.h.template index 06169d603f..61ebca8a98 100644 --- a/src/include/switch_version.h.template +++ b/src/include/switch_version.h.template @@ -37,7 +37,7 @@ extern "C" { #endif -#if UINTPTR_MAX == 0xffffffffffffffff +#if UINTPTR_MAX == 0xffffffffffffffff || defined(_WIN64) #define _fs__bits "64bit" #else #define _fs__bits "32bit"