Removed CSFML .def files on Windows

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1568 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
LaurentGom 2010-09-14 19:43:47 +00:00
parent d35fc89512
commit 5763e7b950
21 changed files with 42 additions and 1217 deletions

View file

@ -60,13 +60,32 @@
////////////////////////////////////////////////////////////
// Define portable import / export macros
////////////////////////////////////////////////////////////
#ifdef CSFML_EXPORTS
#if defined(CSFML_SYSTEM_WINDOWS)
#define CSFML_API extern "C"
// Windows platforms
#ifdef CSFML_EXPORTS
// From DLL side, we must export
#define CSFML_API extern "C" __declspec(dllexport)
#else
// From client application side, we must import
#define CSFML_API extern __declspec(dllimport)
#endif
#else
#define CSFML_API extern
#ifdef CSFML_EXPORTS
#define CSFML_API extern "C"
#else
#define CSFML_API extern
#endif
#endif