Rudiments

- Main Page
- Classes

dll.h
1 // Copyright (c) 2012 David Muse
2 // See the COPYING file for more information.
3
4 #ifndef RUDIMENTS_DLL_H
5 #define RUDIMENTS_DLL_H
6
7 #ifndef RUDIMENTS_DLLSPEC
8 #ifdef _WIN32
9 #ifdef LIBRUDIMENTS_EXPORTS
10 #define RUDIMENTS_DLLSPEC __declspec(dllexport)
11 #else
12 #define RUDIMENTS_DLLSPEC __declspec(dllimport)
13 #endif
14 #else
15 #define RUDIMENTS_DLLSPEC
16 #endif
17 #endif
18
19 #endif