Changeset 8408 in project
- Timestamp:
- 02/12/08 09:44:01 (12 years ago)
- Location:
- chicken/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
chicken/trunk/buildsvnrevision
r8397 r8408 1 8 3931 8405 -
chicken/trunk/posixunix.scm
r8361 r8408 371 371 (C_set_block_item(v, 9, C_fix(C_tm.tm_gmtoff))) 372 372 373 #if 0374 373 #if !defined(C_GNU_ENV) || defined(__CYGWIN__) || defined(__uClinux__) 375 # define C_tm_set(v) (C_tm_set_08(v), &C_tm) 376 # define C_tm_get(v) (C_tm_get_08(v), v) 377 #else 378 # define C_tm_set(v) (C_tm_set_08(v), C_tm_set_9(v), &C_tm) 379 # define C_tm_get(v) (C_tm_get_08(v), C_tm_get_9(v), v) 380 #endif 381 #else 382 #if !defined(C_GNU_ENV) || defined(__CYGWIN__) || defined(__uClinux__) 374 383 375 static struct tm * 384 376 C_tm_set (C_word v) … … 387 379 return &C_tm; 388 380 } 381 389 382 static C_word 390 383 C_tm_get (C_word v) 391 384 { 392 385 C_tm_get_08 (v); 393 C_tm_set_9 (v);394 386 return v; 395 387 } 388 396 389 #else 390 397 391 static struct tm * 398 392 C_tm_set (C_word v) 399 393 { 400 394 C_tm_set_08 (v); 395 C_tm_set_9 (v); 401 396 return &C_tm; 402 397 } 398 403 399 static C_word 404 400 C_tm_get (C_word v) … … 408 404 return v; 409 405 } 410 #endif 406 411 407 #endif 412 408
Note: See TracChangeset
for help on using the changeset viewer.