diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-08-25 12:07:09 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-08-25 12:07:09 +0000 |
commit | dac8c1e5646e9243b35171c1ee4d577eceb315d2 (patch) | |
tree | 2bc9c8049a70fe6dfa9e91df52fca6ada48157f6 /sizes.c | |
parent | 36c4a3015fd547c6eae9612ef915543728be0367 (diff) | |
download | ruby-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.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |