summaryrefslogtreecommitdiff
path: root/utils/MTP/MTP_DLL/MTP_DLL.h
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2009-06-13 08:12:41 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2009-06-13 08:12:41 +0000
commitbc18818547da718e46efb107c3369add018aaa1d (patch)
tree64df93f065f3c847610f5cbdd472218497d54299 /utils/MTP/MTP_DLL/MTP_DLL.h
parentb22e604a067790114ee32cbc49e7407182ba9863 (diff)
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.h4
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 @@
#ifndef MTP_DLL_H
#define MTP_DLL_H
+#ifndef MTP_NODLL
#ifdef MTP_DLL_EXPORTS
#define MTP_DLL_API __declspec(dllexport)
#else
#define MTP_DLL_API __declspec(dllimport)
#endif
+#else
+#define MTP_DLL_API
+#endif
#ifdef __cplusplus
extern "C"