Rudiments: /home/dmuse/src/rudiments/include/rudiments/private/dll.h Source File

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 #ifdef _WIN32
8 #ifdef LIBRUDIMENTS_EXPORTS
9 #define RUDIMENTS_DLLSPEC __declspec(dllexport)
10 #else
11 #define RUDIMENTS_DLLSPEC __declspec(dllimport)
12 #endif
13 #else
14 #define RUDIMENTS_DLLSPEC
15 #endif
16
17 #endif