Minor modifications to Config.hpp
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1615 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
6a6ff075e8
commit
1279cb208c
@ -93,11 +93,8 @@
|
|||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Define portable import / export macros
|
// Define portable import / export macros
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
#if defined(SFML_SYSTEM_WINDOWS)
|
#if defined(SFML_SYSTEM_WINDOWS) && !defined(SFML_STATIC)
|
||||||
|
|
||||||
#ifndef SFML_STATIC
|
|
||||||
|
|
||||||
// Windows platforms
|
|
||||||
#ifdef SFML_EXPORTS
|
#ifdef SFML_EXPORTS
|
||||||
|
|
||||||
// From DLL side, we must export
|
// From DLL side, we must export
|
||||||
@ -121,14 +118,7 @@
|
|||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
// No specific directive needed for static build
|
// Other platforms and static build don't need these export macros
|
||||||
#define SFML_API
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#else
|
|
||||||
|
|
||||||
// Other platforms don't need to define anything
|
|
||||||
#define SFML_API
|
#define SFML_API
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user