wfut 0.2.4
A client side C++ implementation of WFUT (WorldForge Update Tool).
header.h
1// This file may be redistributed and modified only under the terms of
2// the GNU Lesser General Public License (See COPYING for details).
3// Copyright (C) 2005 - 2007 Simon Goodall
4
5#ifndef LIBWFUT_HEADER_H
6#define LIBWFUT_HEADER_H 1
7
8// This file defines the various bits that is needed to build a DLL
9
10#define EXTERN extern
11
12#if defined (_WIN32)
13#define WINDOWS_BUILD 1
14#endif
15
16#if defined(WINDOWS_BUILD) && false
17 #ifdef BUILD_LIBWFUT_DLL
18 #define LIBWFUTAPI EXTERN __declspec(dllexport)
19 #else
20 #define LIBWFUTAPI EXTERN __declspec(dllimport)
21 #endif
22#else
23 #define LIBWFUTAPI EXTERN
24#endif
25
26#endif // LIBWFUT_HEADER