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

View File

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

View File

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