blob: fc4d7704faa526215f541b3e88c9c7019beb382b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#ifndef _EFL_EMOTION_API_H
#define _EFL_EMOTION_API_H
#ifdef EMOTION_API
#error EMOTION_API should not be already defined
#endif
#ifdef _WIN32
# ifndef EMOTION_STATIC
# ifdef EMOTION_BUILD
# define EMOTION_API __declspec(dllexport)
# else
# define EMOTION_API __declspec(dllimport)
# endif
# else
# define EMOTION_API
# endif
# define EMOTION_API_WEAK
#elif defined(__GNUC__)
# if __GNUC__ >= 4
# define EMOTION_API __attribute__ ((visibility("default")))
# define EMOTION_API_WEAK __attribute__ ((weak))
# else
# define EMOTION_API
# define EMOTION_API_WEAK
# endif
#else
# define EMOTION_API
# define EMOTION_API_WEAK
#endif
#endif
|