X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Fpublic-api%2Fdali-toolkit-common.h;h=fe653c5503397d5f7398a6c290901ae32dd99ffb;hp=d16ef81e139aa0499893960384639f92ab3b65cd;hb=1d82abb8a1a514ce0af63004706135fb7883f89b;hpb=fb791c98c1c80ad07a935975c1b9332fada628f8 diff --git a/dali-toolkit/public-api/dali-toolkit-common.h b/dali-toolkit/public-api/dali-toolkit-common.h old mode 100755 new mode 100644 index d16ef81..fe653c5 --- a/dali-toolkit/public-api/dali-toolkit-common.h +++ b/dali-toolkit/public-api/dali-toolkit-common.h @@ -2,7 +2,7 @@ #define DALI_TOOLKIT_COMMON_H /* - * Copyright (c) 2018 Samsung Electronics Co., Ltd. + * Copyright (c) 2020 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -32,23 +32,23 @@ * When building a library that uses DALI, HIDE_DALI_INTERNALS. */ #if __GNUC__ >= 4 -# ifndef HIDE_DALI_INTERNALS -# define DALI_TOOLKIT_API -# else -# define DALI_TOOLKIT_API __attribute__ ((visibility ("default"))) -# endif +#ifndef HIDE_DALI_INTERNALS +#define DALI_TOOLKIT_API +#else +#define DALI_TOOLKIT_API __attribute__((visibility("default"))) +#endif #else #ifdef WIN32 #ifdef BUILDING_DALI_TOOLKIT /** Visibility attribute to hide declarations */ -# define DALI_TOOLKIT_API __declspec(dllexport) +#define DALI_TOOLKIT_API __declspec(dllexport) #else /** Visibility attribute to hide declarations */ -# define DALI_TOOLKIT_API __declspec(dllimport) +#define DALI_TOOLKIT_API __declspec(dllimport) #endif #else /** Visibility attribute to show declarations */ -# define DALI_TOOLKIT_API +#define DALI_TOOLKIT_API #endif #endif