Changeset 2991 for box


Ignore:
Timestamp:
28/08/2011 19:08:05 (9 months ago)
Author:
chris
Message:

Fix potential conflict between WINVERs in Timers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/trunk/lib/common/Timer.cpp

    r2482 r2991  
    99// -------------------------------------------------------------------------- 
    1010 
    11 #ifdef WIN32 
    12         #define _WIN32_WINNT 0x0500 
    13 #endif 
    14  
    1511#include "Box.h" 
     12 
     13#ifdef WIN32 
     14#       ifndef _WIN32_WINNT 
     15#               define _WIN32_WINNT 0x0500 
     16#       elif _WIN32_WINNT < 0x0500 
     17#               error Timers require at least Windows 2000 headers 
     18#       endif 
     19#endif 
    1620 
    1721#include <signal.h> 
Note: See TracChangeset for help on using the changeset viewer.