Blame msvc/missing.h

Packit Service b0a153
/*
Packit Service b0a153
 * Header file for missing WinCE functionality
Packit Service b0a153
 * Copyright © 2012-2013 RealVNC Ltd.
Packit Service b0a153
 *
Packit Service b0a153
 * This library is free software; you can redistribute it and/or
Packit Service b0a153
 * modify it under the terms of the GNU Lesser General Public
Packit Service b0a153
 * License as published by the Free Software Foundation; either
Packit Service b0a153
 * version 2.1 of the License, or (at your option) any later version.
Packit Service b0a153
 *
Packit Service b0a153
 * This library is distributed in the hope that it will be useful,
Packit Service b0a153
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service b0a153
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service b0a153
 * Lesser General Public License for more details.
Packit Service b0a153
 *
Packit Service b0a153
 * You should have received a copy of the GNU Lesser General Public
Packit Service b0a153
 * License along with this library; if not, write to the Free Software
Packit Service b0a153
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Packit Service b0a153
 */
Packit Service b0a153
Packit Service b0a153
#ifndef MISSING_H
Packit Service b0a153
#define MISSING_H
Packit Service b0a153
Packit Service b0a153
/* Windows CE doesn't have SleepEx() - Fallback to Sleep() */
Packit Service b0a153
#define SleepEx(m, a) Sleep(m)
Packit Service b0a153
Packit Service b0a153
/* Windows CE doesn't have any APIs to query environment variables.
Packit Service b0a153
 *
Packit Service b0a153
 * This contains a registry based implementation of getenv.
Packit Service b0a153
 */
Packit Service b0a153
char *getenv(const char *name);
Packit Service b0a153
Packit Service b0a153
#endif