Revert "[Tizen] Do not call ProcessCoreEventsFromIdle repeatedly"
[platform/core/uifw/dali-adaptor.git] / dali-windows-backend / ExInclude / PreprocessorDefinitions.h
1 #ifndef _STDAFX_INCLUDE_\r
2 #define _STDAFX_INCLUDE_\r
3 \r
4 #ifdef __cplusplus\r
5 #include <../dali-adaptor/dali-windows-backend/ExInclude/atomic>\r
6 #include <cstdarg>\r
7 #include <ctime>\r
8 #endif\r
9 \r
10 #ifndef __GNUC__\r
11 #define __attribute__(x)\r
12 #endif\r
13 \r
14 #ifdef ERROR\r
15 #undef ERROR\r
16 #endif\r
17 \r
18 #ifdef CopyMemory\r
19 #undef CopyMemory\r
20 #endif\r
21 \r
22 #ifdef TRANSPARENT\r
23 #undef TRANSPARENT\r
24 #endif\r
25 \r
26 #define M_E 2.71828182845904523536\r
27 #define M_LOG2E 1.44269504088896340736\r
28 #define M_LOG10E 0.434294481903251827651\r
29 #define M_LN2 0.693147180559945309417\r
30 #define M_LN10 2.30258509299404568402\r
31 #define M_PI 3.14159265358979323846\r
32 #define M_PI_2 1.57079632679489661923\r
33 #define M_PI_4 0.785398163397448309616\r
34 #define M_1_PI 0.318309886183790671538\r
35 #define M_2_PI 0.636619772367581343076\r
36 #define M_2_SQRTPI 1.12837916709551257390\r
37 #define M_SQRT2 1.41421356237309504880\r
38 #define M_SQRT1_2 0.707106781186547524401\r
39 \r
40 #define __atomic_base atomic\r
41 \r
42 #define strtok_r strtok_s\r
43 \r
44 #define PTW32_STATIC_LIB 1\r
45 \r
46 #define __restrict__\r
47 \r
48 #define S_ISREG\r
49 \r
50 #define DALI_GLES_VERSION 20\r
51 \r
52 #define lstat stat\r
53 \r
54 #ifdef __cplusplus\r
55 #define _CPP11\r
56 \r
57 extern int vasprintf( char **ptr, const char *format, va_list ap );\r
58 \r
59 #define CLOCK_MONOTONIC 0\r
60 #define TIMER_ABSTIME 0\r
61 \r
62 typedef int clockid_t;\r
63 \r
64 extern void clock_gettime( int type, timespec *timeSpec );\r
65 \r
66 extern int clock_nanosleep( clockid_t clock_id, int flags, const struct timespec *reqtp, struct timespec *remtp );\r
67 #endif\r
68 \r
69 #endif