Fix for 64 bits compatibility
[platform/core/system/libslp-pm.git] / pm.h
1 /*
2  *  libslp-pm
3  *
4  * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
5  *
6  * Contact: DongGi Jang <dg0402.jang@samsung.com>
7  * 
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  * http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  *
20 */ 
21
22
23 #ifndef __POWER_MANAGER_LIBRARY_I_H__
24 #define __POWER_MANAGER_LIBRARY_I_H__
25
26 #ifndef API
27 #define API __attribute__ ((visibility("default")))
28 #endif
29
30 #if defined(ENABLE_DLOG_OUT)
31 #  define LOG_TAG       "PMAPI"
32 #  include <dlog.h>
33 #  define ERR   SLOGE
34 #else
35 #  define ERR   perror
36 #endif
37
38 #endif                          /* __POWER_MANAGER_LIBRARY_I_H__ */