projects
/
synfig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
4263f9b
)
Indentation for better reading
author
Carlos Lopez
<genetita@gmail.com>
Sun, 20 Jun 2010 15:49:12 +0000
(17:49 +0200)
committer
Carlos Lopez
<genetita@gmail.com>
Sun, 20 Jun 2010 15:49:12 +0000
(17:49 +0200)
synfig-core/src/synfig/node.cpp
patch
|
blob
|
history
diff --git
a/synfig-core/src/synfig/node.cpp
b/synfig-core/src/synfig/node.cpp
index
2192cef
..
7006e28
100644
(file)
--- 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
#define BE_FRUGAL_WITH_GUIDS 1
#ifndef __sys_clock
-#ifndef _WIN32
-# include <time.h>
-
# define __sys_clock
::clock
-#else
-# ifdef __GNUG__
-# include <time.h>
-
# 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 <time.h>
+
# define __sys_clock
::clock
+
#else
+
# ifdef __GNUG__
+
# include <time.h>
+
# 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 ======================================================= */
/* === G L O B A L S ======================================================= */