Formatting API
[platform/core/uifw/dali-adaptor.git] / dali / public-api / dali-adaptor-common.h
old mode 100755 (executable)
new mode 100644 (file)
index c0a5651..b5526b8
@@ -2,7 +2,7 @@
 #define DALI_ADAPTOR_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.
  * When building a library that uses DALI, HIDE_DALI_INTERNALS.
  */
 #if __GNUC__ >= 4
-#  ifndef HIDE_DALI_INTERNALS
-#    define DALI_ADAPTOR_API
-#  else
-#    define DALI_ADAPTOR_API __attribute__ ((visibility ("default")))
-#  endif
+#ifndef HIDE_DALI_INTERNALS
+#define DALI_ADAPTOR_API
+#else
+#define DALI_ADAPTOR_API __attribute__((visibility("default")))
+#endif
 #else
 #ifdef WIN32
 #ifdef BUILDING_DALI_ADAPTOR
 /** Visibility attribute to hide declarations */
-#  define DALI_ADAPTOR_API __declspec(dllexport)
+#define DALI_ADAPTOR_API __declspec(dllexport)
 #else
 /** Visibility attribute to hide declarations */
-#  define DALI_ADAPTOR_API __declspec(dllimport)
+#define DALI_ADAPTOR_API __declspec(dllimport)
 #endif
 #else
 /** Visibility attribute to show declarations */
-#  define DALI_ADAPTOR_API
+#define DALI_ADAPTOR_API
 #endif
 #endif