etisserant@145: /* etisserant@145: This file is part of CanFestival, a library implementing CanOpen Stack. etisserant@145: etisserant@145: Copyright (C): Edouard TISSERANT and Francis DUPIN etisserant@145: Win32 port by Leonid Tochinski etisserant@145: etisserant@145: See COPYING file for copyrights details. etisserant@145: etisserant@145: This library is free software; you can redistribute it and/or etisserant@145: modify it under the terms of the GNU Lesser General Public etisserant@145: License as published by the Free Software Foundation; either etisserant@145: version 2.1 of the License, or (at your option) any later version. etisserant@145: etisserant@145: This library is distributed in the hope that it will be useful, etisserant@145: but WITHOUT ANY WARRANTY; without even the implied warranty of etisserant@145: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU etisserant@145: Lesser General Public License for more details. etisserant@145: etisserant@145: You should have received a copy of the GNU Lesser General Public etisserant@145: License along with this library; if not, write to the Free Software etisserant@145: Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA etisserant@145: */ etisserant@145: etisserant@145: #ifndef __TIMERSCFG_H__ etisserant@145: #define __TIMERSCFG_H__ etisserant@145: etisserant@145: #include etisserant@145: ct@680: // Time unit : 1msec ct@680: #define TIMEVAL DWORD etisserant@145: #define TIMEVAL_MAX ~(TIMEVAL)0 greg@565: ct@680: #define MS_TO_TIMEVAL(ms) ms ct@680: #define US_TO_TIMEVAL(us) (us / 1000) etisserant@145: etisserant@145: #define TASK_HANDLE HANDLE etisserant@145: etisserant@145: #endif