feisty meow concerns codebase 2.140
dll_security.h
Go to the documentation of this file.
1#ifndef SECURITY_DLL_DEFINITIONS
2#define SECURITY_DLL_DEFINITIONS
3
4/*****************************************************************************\
5* *
6* Name : security DLL helper *
7* Author : Chris Koeritz *
8* *
9* Purpose: *
10* *
11* Allows the security support to work within a DLL. *
12* *
13*******************************************************************************
14* Copyright (c) 2008-$now By Author. This program is free software; you can *
15* redistribute it and/or modify it under the terms of the GNU General Public *
16* License as published by the Free Software Foundation; either version 2 of *
17* the License or (at your option) any later version. This is online at: *
18* http://www.fsf.org/copyleft/gpl.html *
19* Please send any updates to: fred@gruntose.com *
20\*****************************************************************************/
21
22#include "basis/build_configuration.h"
23
24// windows class tags for the data structures library:
25// define BUILD_SECURITY when you are creating the dll and
26// define USE_FEISTY_MEOW_DLLS when you are importing a class from the dll.
27#ifdef BUILD_SECURITY
28 #define HOOPLE_DLL_EXPORT_CLASS
29 #define HOOPLE_DLL_EXPORT_FUNCTION
30#elif defined(USE_FEISTY_MEOW_DLLS)
31 #define HOOPLE_DLL_IMPORT_CLASS
32 #define HOOPLE_DLL_IMPORT_FUNCTION
33#else
34 #define SECURITY_CLASS_STYLE
35 #define SECURITY_FUNCTION_STYLE
36#endif
37
38#endif
39