projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace HAVE_GETTIMEOFDAY_POSIX_SIGNATURE and GETTIMEOFDAY_CLOBBERS_LOCALTIME
[pspp]
/
lib
/
sys_time_.h
diff --git
a/lib/sys_time_.h
b/lib/sys_time_.h
index 96291c9615282b00cc5b132c288e6e09f12bead5..a377c65311884b38286dd970e4ad2fca4f32c901 100644
(file)
--- a/
lib/sys_time_.h
+++ b/
lib/sys_time_.h
@@
-35,7
+35,7
@@
struct timeval
};
#endif
-#if
! @HAVE_GETTIMEOFDAY_POSIX_SIGNATURE@ || @GETTIMEOFDAY_CLOBBERS_LOCALTIME
@
+#if
@GETTIMEOFDAY_REPLACEMENT
@
# undef gettimeofday
# define gettimeofday rpl_gettimeofday
int gettimeofday (struct timeval *restrict, void *restrict);