Change name of compilation symbol

This commit is contained in:
Travis Nickles 2017-11-17 01:50:18 -06:00
parent 09a7cd8288
commit 17a1e895eb
3 changed files with 3 additions and 3 deletions

View File

@ -87,7 +87,7 @@
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<DefineConstants>PLATFORM_X64</DefineConstants>
<DefineConstants>WIN64</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>

View File

@ -492,7 +492,7 @@ namespace DS4Windows
else
{
byte[] buffer = new byte[126];
#if PLATFORM_X64
#if WIN64
ulong bufferLen = 126;
#else
uint bufferLen = 126;

View File

@ -391,7 +391,7 @@ namespace DS4Windows
[DllImport("hid.dll")]
static internal extern int HidP_GetValueCaps(short reportType, ref byte valueCaps, ref short valueCapsLength, IntPtr preparsedData);
#if PLATFORM_X64
#if WIN64
[DllImport("hid.dll")]
static internal extern bool HidD_GetSerialNumberString(IntPtr HidDeviceObject, byte[] Buffer, ulong BufferLength);
#else