aboutsummaryrefslogtreecommitdiffstats
path: root/sizes.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-08-25 12:07:09 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-08-25 12:07:09 +0000
commitdac8c1e5646e9243b35171c1ee4d577eceb315d2 (patch)
tree2bc9c8049a70fe6dfa9e91df52fca6ada48157f6 /sizes.c
parent36c4a3015fd547c6eae9612ef915543728be0367 (diff)
downloadruby-dac8c1e5646e9243b35171c1ee4d577eceb315d2.tar.gz
* sizes.c (Init_sizes): Define the size of clock_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sizes.c')
-rw-r--r--sizes.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sizes.c b/sizes.c
index 99ef5a09e6..629978dc00 100644
--- a/sizes.c
+++ b/sizes.c
@@ -41,6 +41,9 @@ Init_sizes(void)
#if SIZEOF_TIME_T != 0
DEFINE(time_t, TIME_T);
#endif
+#if SIZEOF_CLOCK_T != 0
+ DEFINE(clock_t, CLOCK_T);
+#endif
#if SIZEOF_SIZE_T != 0
DEFINE(size_t, SIZE_T);
#endif