diff options
author | Pete Batard <pete@akeo.ie> | 2013-03-03 00:56:06 +0000 |
---|---|---|
committer | Pete Batard <pete@akeo.ie> | 2013-03-03 00:56:06 +0000 |
commit | baf714f5e0f22b968cea0e747c23eeced44f602e (patch) | |
tree | 13417c4e29fbeec074c62921471e85bbcb720daf /msvc | |
parent | 0ded9c126e9b48b5ed217e60d392cfb882cbc351 (diff) | |
download | libusb-baf714f5e0f22b968cea0e747c23eeced44f602e.tar.gz |
WinCE: Post integration cleanup
* Update copyrights and switch to UTF-8 everywhere
* Add SleepEx() to missing.h, and move include to libusbi.h
* Remove ifdef for GetSystemTimeAsFileTime()
Diffstat (limited to 'msvc')
-rw-r--r-- | msvc/missing.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/msvc/missing.h b/msvc/missing.h index 7846976..183b9d3 100644 --- a/msvc/missing.h +++ b/msvc/missing.h @@ -1,6 +1,6 @@ /* * Header file for missing WinCE functionality - * Copyright © 2012 RealVNC Ltd. + * Copyright © 2012-2013 RealVNC Ltd. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -20,6 +20,9 @@ #ifndef MISSING_H #define MISSING_H +/* Windows CE doesn't have SleepEx() - Fallback to Sleep() */ +#define SleepEx(m, a) Sleep(m) + /* Windows CE doesn't have any APIs to query environment variables. * * This contains a registry based implementation of getenv. |