1
0
Fork 0
forked from len0rd/rockbox

Add sendfirm Windows version, currently in the form of a DLL so it could

be easy integrated into programs (will require VS2005 to compile)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17932 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Maurus Cuelenaere 2008-07-03 22:01:37 +00:00
parent b1e57c8c8e
commit b42a51bf64
8 changed files with 533 additions and 0 deletions

View file

@ -0,0 +1,11 @@
// The following ifdef block is the standard way of creating macros which make exporting
// from a DLL simpler. All files within this DLL are compiled with the MTP_DLL_EXPORTS
// symbol defined on the command line. this symbol should not be defined on any project
// that uses this DLL. This way any other project whose source files include this file see
// MTP_DLL_API functions as being imported from a DLL, whereas this DLL sees symbols
// defined with this macro as being exported.
#ifdef MTP_DLL_EXPORTS
#define MTP_DLL_API __declspec(dllexport)
#else
#define MTP_DLL_API __declspec(dllimport)
#endif