mirror of
https://github.com/reactos/reactos.git
synced 2024-08-19 09:59:44 +00:00
84291d0d72
svn path=/branches/GSoC_2011/ThemesSupport/; revision=52691
82 lines
1.8 KiB
C++
82 lines
1.8 KiB
C++
/*
|
|
* Copyright (C) 2005 Casper S. Hornstrup
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program 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 this program; if not, write to the Free Software Foundation, Inc.,
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#ifdef _MSC_VER
|
|
#pragma warning ( disable : 4786 ) // identifier was truncated to '255' characters in the debug information
|
|
#pragma warning ( disable : 4996 ) // CRT deprecate
|
|
#endif//_MSC_VER
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
#include <map>
|
|
#include <set>
|
|
#include <utility>
|
|
#include <bitset>
|
|
|
|
#ifdef WIN32
|
|
#include <windows.h>
|
|
#ifndef MAX_PATH
|
|
#define MAX_PATH _MAX_PATH
|
|
#endif//MAX_PATH
|
|
#else
|
|
#include <unistd.h>
|
|
#include <host/typedefs.h>
|
|
typedef LONG *PLONG;
|
|
|
|
#endif//WIN32
|
|
|
|
#include <stdarg.h>
|
|
#include <stdio.h>
|
|
|
|
#ifndef WIN32
|
|
#include <string.h>
|
|
#include <ctype.h>
|
|
#include <wctype.h>
|
|
#include <math.h>
|
|
|
|
inline char * strlwr(char *x)
|
|
{
|
|
char *y=x;
|
|
|
|
while (*y) {
|
|
*y=tolower(*y);
|
|
y++;
|
|
}
|
|
return x;
|
|
}
|
|
|
|
inline char *strupr(char *x)
|
|
{
|
|
char *y=x;
|
|
|
|
while (*y) {
|
|
*y=toupper(*y);
|
|
y++;
|
|
}
|
|
return x;
|
|
}
|
|
|
|
#define _finite __finite
|
|
#define _isnan __isnan
|
|
#define stricmp strcasecmp
|
|
#define MAX_PATH PATH_MAX
|
|
#define _MAX_PATH PATH_MAX
|
|
#endif
|