Cog/Frameworks/libsidplay/sidplay-residfp-code/.svn/pristine/0e/0ea149b32b32f7a4dea91df1521523dc0cbbb346.svn-base
2014-12-07 22:26:31 -08:00

51 lines
1.4 KiB
Text

/*
* This file is part of sidplayfp, a console SID player.
*
* Copyright 2014 Leandro Nini
*
* 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.
*/
#ifndef TYPES_H
#define TYPES_H
#include "sidfstream.h"
# define SID_WIFSTREAM sid_wifstream
# define SID_WOFSTREAM sid_wofstream
# define SID_IFSTREAM sid_ifstream
# define SID_OFSTREAM sid_ofstream
#if defined(_WIN32) && defined(UNICODE)
# define SID_STRING std::wstring
# define SID_STRINGTREAM std::wstringstream
# define SID_COUT std::wcout
#else
# define SID_STRING std::string
# define SID_STRINGTREAM std::stringstream
# define SID_COUT std::cout
#endif
#ifndef _WIN32
# define TCHAR char
# define TEXT(x) x
# define SEPARATOR "/"
#else
# include <windows.h>
# define SEPARATOR TEXT("\\")
#endif
#endif