Horde3D

Next-Generation Graphics Engine
It is currently 22.11.2024, 18:01

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Windows x64 build fix.
PostPosted: 30.01.2010, 11:09 
Offline

Joined: 05.03.2007, 19:38
Posts: 167
Location: Romania
In order to successfully build on Windows targeting x64 I've made this small change:

replaced:
Code:
DWORD procMask, sysMask;

with:
Code:
   #ifndef _WIN64
      DWORD procMask, sysMask;
   #else
      DWORD_PTR procMask, sysMask;      
   #endif

in utTimer.h, about line 70

Hope this could be of use to anyone :)

_________________
Paul


Top
 Profile  
Reply with quote  
PostPosted: 31.01.2010, 13:36 
Offline
Engine Developer

Joined: 10.09.2006, 15:52
Posts: 1217
Thanks for the hint. Actually
Code:
DWORD_PTR procMask, sysMask;

should work for both, 32 and 64 bit.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group