History log of /haiku/headers/compatibility/bsd/sys/time.h
Revision Date Author Comments
# 142723d1 07-Mar-2024 Jérôme Duval <jerome.duval@gmail.com>

libbsd: fix timespeccmp()

Change-Id: I5c1b1e5c4c583c0758b9f1b6eee67cb83053461d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7514
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# 01dc1ea4 24-Feb-2024 Jérôme Duval <jerome.duval@gmail.com>

libbsd: add strtonum(), nitems(), timespec operation functions from FreeBSD

Change-Id: I56b677b382d17a27d243b615de19bec10f3a2810
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7426
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# 49506076 19-Jul-2019 Adrien Destugues <pulkomandy@pulkomandy.tk>

Add a features.h to auto enable _DEFAULT_SOURCE

Unless __STRICT_ANSI__ is defined (as it is when running the compiler in
--std=c89 or --std=c99, but not when running it without any specific
args), we can enable these by default and behave like most other
systems. I don't know why no one has done this yet despite suggesting it
multiple times and people prefer to #define _BSD_SOURCE manually
everywhere.

Remove all places in our Jamfiles and sources where it had been defined.
_DEFAULT_SOURCE is now enabled by default for all sources of Haiku, since we
let the compiler use GNU extensions (no strict C standard specified on
command line)

Use _DEFAULT_SOURCE as the define name to match current versions of
glibc. Enable it if _BSD_SOURCE is #defined in compiler flags, for
backward compatibility.

Change-Id: I6db04da5f6db437723cdfba3478f5094a69d7727
Reviewed-on: https://review.haiku-os.org/c/1633
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>


# 1d3d336a 16-Nov-2017 Alexander von Gluck IV <kallisti5@unixzen.com>

libbsd: Move lutimes to bsd compat

* Rework be149e8ccf9 since lutimes isn't posix


# 4b3b81da9e459443d75329cfd08bc9a57ad02653 12-Apr-2008 Axel Dörfler <axeld@pinc-software.de>

This header is no longer necessary, since Ingo added the BSD timer macros
to our sys/time.h - this fixes a lot of warnings, too.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24952 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 275d9d80a909ac1ff5920f2ae5113d2e9e995dba 07-Aug-2006 Axel Dörfler <axeld@pinc-software.de>

Some more functions for our BSD compatibility library.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18436 a95241bf-73f2-0310-859d-f6bbb57e9c96