X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Fsrc%2Fsynfig%2Fnode.cpp;h=7006e28b34009220b08a38772d1a0ae96bd3c481;hb=1dd5df3c6caf241f4ee42859aa8654b4178d38a1;hp=2192cef630854c893e916486499744ba158a45d6;hpb=4263f9b0796d5b91f7e86ce2050a27fc2691cef3;p=synfig.git diff --git a/synfig-core/src/synfig/node.cpp b/synfig-core/src/synfig/node.cpp index 2192cef..7006e28 100644 --- a/synfig-core/src/synfig/node.cpp +++ b/synfig-core/src/synfig/node.cpp @@ -62,21 +62,21 @@ using namespace synfig; #define BE_FRUGAL_WITH_GUIDS 1 #ifndef __sys_clock -#ifndef _WIN32 -# include -# define __sys_clock ::clock -#else -# ifdef __GNUG__ -# include -# define __sys_clock ::clock -# else -typedef int clock_t; -extern clock_t _clock(); -# define CLOCKS_PER_SEC 1000 -# define __sys_clock _clock -# endif -#endif -#endif + #ifndef _WIN32 + # include + # define __sys_clock ::clock + #else + # ifdef __GNUG__ + # include + # define __sys_clock ::clock + # else + typedef int clock_t; + extern clock_t _clock(); + # define CLOCKS_PER_SEC 1000 + # define __sys_clock _clock + # endif // __GNUG__ + #endif // _WIN_32 +#endif // __sys_clock /* === G L O B A L S ======================================================= */