mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@4447 3b4a5df2-a311-0410-b5c6-a8a6f20db521
63 lines
1.7 KiB
C
63 lines
1.7 KiB
C
/*
|
|
* bfVFS : vfs_config.h
|
|
* - define basic library macros, especially the DLL interface macros
|
|
*
|
|
* Copyright (C) 2008 - 2010 (BF) john.bf.smith@googlemail.com
|
|
*
|
|
* This file is part of the bfVFS library
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
*
|
|
* This library 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
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
*/
|
|
|
|
#ifndef _VFS_CONFIG_H_
|
|
#define _VFS_CONFIG_H_
|
|
|
|
#ifdef WIN32
|
|
#ifdef _MSC_VER
|
|
# ifndef PRINT_DLL_INTERFACE_WARNING
|
|
# pragma warning ( disable : 4251 )
|
|
# endif
|
|
#endif
|
|
#endif
|
|
|
|
#if defined(_WIN32) && defined(_MSC_VER)
|
|
// VFS_STATIC overrides VFS_EXPORT
|
|
# ifdef VFS_STATIC
|
|
# define VFS_API
|
|
# endif
|
|
|
|
# ifndef VFS_STATIC
|
|
# ifdef VFS_EXPORT
|
|
# define VFS_API __declspec(dllexport)
|
|
# else
|
|
# define VFS_API __declspec(dllimport)
|
|
# endif
|
|
# endif
|
|
#else
|
|
# define VFS_API
|
|
#endif
|
|
|
|
#define VFS_VERSION_MAJOR 1
|
|
#define VFS_VERSION_MINOR 0
|
|
#define VFS_VERSION_PATCH 0
|
|
|
|
#if defined VFS_NO_LOGGING
|
|
# define LOG_INFO(x)
|
|
# define LOG_WARNING(y)
|
|
# define LOG_ERROR(z)
|
|
#endif
|
|
|
|
#endif // _VFS_CONFIG_H_
|