Files
bacula/vchanger/src/vchanger/src/compat/sleep.h
2023-10-14 17:36:14 +02:00

43 lines
1.1 KiB
C

/* sleep.h
*
* This file is part of vchanger by Josh Fisher.
*
* vchanger copyright (C) 2008-2014 Josh Fisher
*
* vchanger is free software.
* You may redistribute it and/or modify it under the terms of the
* GNU General Public License version 2, as published by the Free
* Software Foundation.
*
* vchanger is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with vchanger. See the file "COPYING". If not,
* write to: The Free Software Foundation, Inc.,
* 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef _SLEEP_H
#define _SLEEP_H
#ifdef HAVE_WINDOWS_H
/* For Windows provide sleep() function using Win32 API Sleep() */
#ifdef __cplusplus
extern "C" {
#endif
unsigned int sleep(unsigned int seconds);
#ifdef __cplusplus
}
#endif
#endif
#endif /* _SLEEP_H */