diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2009-06-13 08:12:41 +0000 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2009-06-13 08:12:41 +0000 |
commit | bc18818547da718e46efb107c3369add018aaa1d (patch) | |
tree | 64df93f065f3c847610f5cbdd472218497d54299 /utils/MTP/MTP_DLL/MTP_DLL.h | |
parent | b22e604a067790114ee32cbc49e7407182ba9863 (diff) | |
download | rockbox-bc18818547da718e46efb107c3369add018aaa1d.tar.gz rockbox-bc18818547da718e46efb107c3369add018aaa1d.zip |
Some more MTP_DLL cleanup.
- don't use precompiled headers.
- prepare for direct incorporation of the library.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21269 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/MTP/MTP_DLL/MTP_DLL.h')
-rw-r--r-- | utils/MTP/MTP_DLL/MTP_DLL.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/MTP/MTP_DLL/MTP_DLL.h b/utils/MTP/MTP_DLL/MTP_DLL.h index 2793c936e1..6faab84619 100644 --- a/utils/MTP/MTP_DLL/MTP_DLL.h +++ b/utils/MTP/MTP_DLL/MTP_DLL.h | |||
@@ -2,11 +2,15 @@ | |||
2 | #ifndef MTP_DLL_H | 2 | #ifndef MTP_DLL_H |
3 | #define MTP_DLL_H | 3 | #define MTP_DLL_H |
4 | 4 | ||
5 | #ifndef MTP_NODLL | ||
5 | #ifdef MTP_DLL_EXPORTS | 6 | #ifdef MTP_DLL_EXPORTS |
6 | #define MTP_DLL_API __declspec(dllexport) | 7 | #define MTP_DLL_API __declspec(dllexport) |
7 | #else | 8 | #else |
8 | #define MTP_DLL_API __declspec(dllimport) | 9 | #define MTP_DLL_API __declspec(dllimport) |
9 | #endif | 10 | #endif |
11 | #else | ||
12 | #define MTP_DLL_API | ||
13 | #endif | ||
10 | 14 | ||
11 | #ifdef __cplusplus | 15 | #ifdef __cplusplus |
12 | extern "C" | 16 | extern "C" |