V-Gears 0
Free Final Fantasy VII engine.
VGearsPrerequisites.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2022 The V-Gears Team
3 *
4 * This file is part of V-Gears
5 *
6 * V-Gears is free software: you can redistribute it and/or modify it under
7 * terms of the GNU General Public License as published by the Free Software
8 * Foundation, version 3.0 (GPLv3) of the License.
9 *
10 * V-Gears is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 */
15
22#pragma once
23
24#include <OgrePrerequisites.h>
25
26#if (OGRE_PLATFORM == OGRE_PLATFORM_WIN32 ) && !defined(_MSC_VER) && !defined(VGEARS_STATIC_LIB)
27# ifdef VGEARS_EXPORTS
28# define _VGearsExport __declspec(dllexport)
29# else
30# define _VGearsExport __declspec(dllimport)
31# endif
32#elif defined (OGRE_GCC_VISIBILITY)
33# define _VGearsExport __attribute__ ((visibility("default")))
34#else
35# define _VGearsExport
36#endif