From 5b3e480be3c61ea790ee2a39727ffad1c3487178 Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Sat, 20 Oct 2012 02:31:06 +0300 Subject: Added a function to check if specific OS features are available linux.c, macos.c, windows.c now contain subsurface_os_feature_available() that can accept an enum type os_feature_t defined in dive.h. The function can be useful to check if a specific global feature is available on a certain OS version. Signed-off-by: Lubomir I. Ivanov Signed-off-by: Dirk Hohndel --- macos.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'macos.c') diff --git a/macos.c b/macos.c index fb760887f..6727c1053 100644 --- a/macos.c +++ b/macos.c @@ -172,3 +172,8 @@ void subsurface_command_line_exit(gint *argc, gchar ***argv) { /* this is a no-op */ } + +gboolean subsurface_os_feature_available(os_feature_t f) +{ + return TRUE; +} -- cgit v1.2.3-70-g09d2