echonest_export.h | echonest_export.h | |||
---|---|---|---|---|
skipping to change at line 20 | skipping to change at line 20 | |||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNES S FOR A * | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNES S FOR A * | |||
* PARTICULAR PURPOSE. See the GNU General Public License for more details. * | * PARTICULAR PURPOSE. See the GNU General Public License for more details. * | |||
* * | * * | |||
* You should have received a copy of the GNU General Public License along with * | * You should have received a copy of the GNU General Public License along with * | |||
* this program. If not, see <http://www.gnu.org/licenses/>. * | * this program. If not, see <http://www.gnu.org/licenses/>. * | |||
************************************************************************** **************/ | ************************************************************************** **************/ | |||
#ifndef ECHONEST_EXPORT_H | #ifndef ECHONEST_EXPORT_H | |||
#define ECHONEST_EXPORT_H | #define ECHONEST_EXPORT_H | |||
#ifdef _WIN32 | #if defined _WIN32 | |||
#define ECHONEST_EXPORT __declspec(dllexport) | #if defined ( echonest_EXPORTS ) | |||
#define ECHONEST_EXPORT __declspec(dllexport) | ||||
#else | ||||
#define ECHONEST_EXPORT __declspec(dllimport) | ||||
#endif | ||||
#elif __GNUC__ >= 4 | #elif __GNUC__ >= 4 | |||
#define ECHONEST_EXPORT __attribute__ ((visibility("default"))) | #define ECHONEST_EXPORT __attribute__ ((visibility("default"))) | |||
#else | #else | |||
#define ECHONEST_EXPORT | #define ECHONEST_EXPORT | |||
#endif | #endif | |||
#endif | #endif | |||
End of changes. 1 change blocks. | ||||
2 lines changed or deleted | 6 lines changed or added | |||