scenewalker-libretro/shared.hpp
2013-12-16 13:21:30 +01:00

39 lines
1.1 KiB
C++

/*
* Scenewalker Tech demo
* Copyright (C) 2013 - Hans-Kristian Arntzen
* Copyright (C) 2013 - Daniel De Matteis
*
* InstancingViewer 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 Found-
* ation, either version 3 of the License, or (at your option) any later version.
*
* InstancingViewer 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 InstancingViewer.
* If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SHARED_HPP__
#define SHARED_HPP__
#include "libretro.h"
#ifdef _MSC_VER
#include <memory>
#define snprintf _snprintf
#else
#include <tr1/memory>
#endif
#if defined(__QNX__) || defined(__CELLOS_LV2__) || defined(IOS) || defined(OSX)
namespace std1 = compat;
#else
namespace std1 = std::tr1;
#endif
extern retro_log_printf_t log_cb;
#endif