X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-core.git;a=blobdiff_plain;f=dali%2Fpublic-api%2Fcommon%2Fdali-common.h;h=4b7c4aaf877d5b32753257a2e5066966d862cfd9;hp=78cfb62746190b3707d314dca5aa5494ed60907b;hb=649ec06daecb510fb84fe4642a6af957f127e7ab;hpb=88c06f8cdea30606c625dd3a7aecb0df8652af72 diff --git a/dali/public-api/common/dali-common.h b/dali/public-api/common/dali-common.h index 78cfb62..4b7c4aa 100755 --- a/dali/public-api/common/dali-common.h +++ b/dali/public-api/common/dali-common.h @@ -43,26 +43,12 @@ # define DALI_INTERNAL __attribute__ ((visibility ("hidden"))) # endif #else -#ifdef WIN32 - /** Visibility attribute to show declarations */ -# define DALI_EXPORT_API __declspec(dllexport) //Deprecated - -#ifdef BUILDING_DALI_CORE - /** Visibility attribute to hide declarations */ -# define DALI_CORE_API __declspec(dllexport) -#else -/** Visibility attribute to hide declarations */ -# define DALI_CORE_API __declspec(dllimport) -#endif - -#else - /** Visibility attribute to show declarations */ -# define DALI_EXPORT_API //Deprecated +/** Visibility attribute to show method definitions */ +# define DALI_EXPORT_API /** Visibility attribute to show declarations */ # define DALI_IMPORT_API /** Visibility attribute to show declarations */ # define DALI_CORE_API -#endif /** Visibility attribute to hide declarations */ # define DALI_INTERNAL #endif @@ -87,13 +73,8 @@ * DALI_UNLIKELY should be used when a branch is almost never taken. * @SINCE_1_0.0 */ -#ifdef __GNUC #define DALI_LIKELY(expression) __builtin_expect( !!(expression), 1 ) #define DALI_UNLIKELY(expression) __builtin_expect( !!(expression), 0 ) -#else -#define DALI_LIKELY(expression) !!(expression) -#define DALI_UNLIKELY(expression) !!(expression) -#endif /** * @brief The DALi namespace.