[rygel] core: Fix EnergyManagement helper condition
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] core: Fix EnergyManagement helper condition
- Date: Fri, 14 Nov 2014 09:59:12 +0000 (UTC)
commit 5b53eeeef2bcdad34be6f62edaadae0e670f69d2
Author: Jens Georg <mail jensge org>
Date: Fri Nov 14 10:42:57 2014 +0100
core: Fix EnergyManagement helper condition
There is no such thing as G_OS_LINUX. Use __linux__ instead.
Signed-off-by: Jens Georg <mail jensge org>
src/librygel-core/rygel-energy-management-helper.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/librygel-core/rygel-energy-management-helper.c
b/src/librygel-core/rygel-energy-management-helper.c
index 6e5c857..1e6ea79 100644
--- a/src/librygel-core/rygel-energy-management-helper.c
+++ b/src/librygel-core/rygel-energy-management-helper.c
@@ -25,7 +25,7 @@
#include <glib.h>
#include <glib/gi18n.h>
-#ifdef G_OS_LINUX
+#if defined(__linux__)
#include <sys/ioctl.h>
#include <sys/types.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]