forked from len0rd/rockbox
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
This commit is contained in:
parent
b22e604a06
commit
bc18818547
7 changed files with 11 additions and 62 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue