X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=dali%2Fpublic-api%2Fcommon%2Fdali-common.h;h=4b7c4aaf877d5b32753257a2e5066966d862cfd9;hb=0643c768fd100bd7ffb522e3358b88d075bc1d2e;hp=cc73979dd0576bcae1ee46d5016632b299209fae;hpb=9822303ce87b5133249686ab49f72d2f354fe932;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/public-api/common/dali-common.h b/dali/public-api/common/dali-common.h index cc73979..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) - -#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 */ +/** 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.