threads / patch / 19346

patchTurn on USE_ST_TIMESPEC for OpenBSD

Subject: [PATCH] Turn on USE_ST_TIMESPEC for OpenBSD

## tl;dr

2 messages between May 14, 2009 and May 15, 2009. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Tony Kemp· May 14, 2009, 06:47 UTC · lore

Like Darwin, OpenBSD's stat struct uses st_ctimespec and st_mtimestruct rather than st_ctim and st_mtim.

Signed-off-by: Tony Kemp <tony.kemp@newcastle.edu.au>
---
  Makefile |    1 +
  1 files changed, 1 insertions(+), 0 deletions(-)
Show changes to Makefile +1 −0
diff --git a/Makefile b/Makefile
index 6e21643..26d180c 100644
--- a/Makefile
+++ b/Makefile
@@ -749,6 +749,7 @@ endif
  ifeq ($(uname_S),OpenBSD)
  	NO_STRCASESTR = YesPlease
  	NO_MEMMEM = YesPlease
+	USE_ST_TIMESPEC = YesPlease
  	NEEDS_LIBICONV = YesPlease
  	BASIC_CFLAGS += -I/usr/local/include
  	BASIC_LDFLAGS += -L/usr/local/lib
-- 
1.6.2.2

← back to recent threads