winamp/Src/replicant/foundation/export.h
2024-09-24 14:54:57 +02:00

19 lines
311 B
C

#pragma once
#ifdef _MSC_VER
#define DLLEXPORT __declspec(dllexport)
#elif defined(__GNUC__)
#define DLLEXPORT __attribute__ ((visibility("default")))
#else
#error port me!
#endif
#ifdef _MSC_VER
#define DLLIMPORT __declspec(dllimport)
#elif defined(__GNUC__)
#define DLLIMPORT
#else
#error port me!
#endif