@@ -204,23 +204,74 @@ s! {
204
204
205
205
pub struct timex {
206
206
pub modes: c_uint,
207
+ #[ cfg( gnu_time_bits64) ]
208
+ _pad1: c_int,
209
+ #[ cfg( gnu_time_bits64) ]
210
+ pub offset: c_longlong,
211
+ #[ cfg( not( gnu_time_bits64) ) ]
207
212
pub offset: c_long,
213
+ #[ cfg( gnu_time_bits64) ]
214
+ pub freq: c_longlong,
215
+ #[ cfg( not( gnu_time_bits64) ) ]
208
216
pub freq: c_long,
217
+ #[ cfg( gnu_time_bits64) ]
218
+ pub maxerror: c_longlong,
219
+ #[ cfg( not( gnu_time_bits64) ) ]
209
220
pub maxerror: c_long,
221
+ #[ cfg( gnu_time_bits64) ]
222
+ pub esterror: c_longlong,
223
+ #[ cfg( not( gnu_time_bits64) ) ]
210
224
pub esterror: c_long,
211
225
pub status: c_int,
226
+ #[ cfg( gnu_time_bits64) ]
227
+ _pad2: c_int,
228
+ #[ cfg( gnu_time_bits64) ]
229
+ pub constant: c_longlong,
230
+ #[ cfg( not( gnu_time_bits64) ) ]
212
231
pub constant: c_long,
232
+ #[ cfg( gnu_time_bits64) ]
233
+ pub precision: c_longlong,
234
+ #[ cfg( not( gnu_time_bits64) ) ]
213
235
pub precision: c_long,
236
+ #[ cfg( gnu_time_bits64) ]
237
+ pub tolerance: c_longlong,
238
+ #[ cfg( not( gnu_time_bits64) ) ]
214
239
pub tolerance: c_long,
215
240
pub time: crate :: timeval,
241
+ #[ cfg( gnu_time_bits64) ]
242
+ pub tick: c_longlong,
243
+ #[ cfg( not( gnu_time_bits64) ) ]
216
244
pub tick: c_long,
245
+ #[ cfg( gnu_time_bits64) ]
246
+ pub ppsfreq: c_longlong,
247
+ #[ cfg( not( gnu_time_bits64) ) ]
217
248
pub ppsfreq: c_long,
249
+ #[ cfg( gnu_time_bits64) ]
250
+ pub jitter: c_longlong,
251
+ #[ cfg( not( gnu_time_bits64) ) ]
218
252
pub jitter: c_long,
219
253
pub shift: c_int,
254
+ #[ cfg( gnu_time_bits64) ]
255
+ _pad3: c_int,
256
+ #[ cfg( gnu_time_bits64) ]
257
+ pub stabil: c_longlong,
258
+ #[ cfg( not( gnu_time_bits64) ) ]
220
259
pub stabil: c_long,
260
+ #[ cfg( gnu_time_bits64) ]
261
+ pub jitcnt: c_longlong,
262
+ #[ cfg( not( gnu_time_bits64) ) ]
221
263
pub jitcnt: c_long,
264
+ #[ cfg( gnu_time_bits64) ]
265
+ pub calcnt: c_longlong,
266
+ #[ cfg( not( gnu_time_bits64) ) ]
222
267
pub calcnt: c_long,
268
+ #[ cfg( gnu_time_bits64) ]
269
+ pub errcnt: c_longlong,
270
+ #[ cfg( not( gnu_time_bits64) ) ]
223
271
pub errcnt: c_long,
272
+ #[ cfg( gnu_time_bits64) ]
273
+ pub stbcnt: c_longlong,
274
+ #[ cfg( not( gnu_time_bits64) ) ]
224
275
pub stbcnt: c_long,
225
276
pub tai: c_int,
226
277
pub __unused1: i32 ,
0 commit comments