kdbus: fix build error for emulator64-wayland. 58/118958/1 accepted/tizen/common/20170315.124804 accepted/tizen/ivi/20170315.104419 accepted/tizen/mobile/20170315.104335 accepted/tizen/tv/20170315.104348 accepted/tizen/unified/20170315.104435 accepted/tizen/wearable/20170315.104408 submit/tizen/20170315.023445
authorINSUN PYO <insun.pyo@samsung.com>
Wed, 15 Mar 2017 02:12:18 +0000 (11:12 +0900)
committerINSUN PYO <insun.pyo@samsung.com>
Wed, 15 Mar 2017 02:31:13 +0000 (11:31 +0900)
After applying unify build, all profiles build kdbus unconditionally even if you do not use kdbus.
Before unify build, kdbus was not enabled in emulator64-wayland environment.

Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: I22f8dd17cdfeed17a3ef7aa8da5c738fc677f0ad

dbus/dbus-transport-kdbus.c

index 893a3ef..6670db8 100755 (executable)
@@ -59,7 +59,7 @@
 #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 17, 0)
 #  if defined(__arm__) || defined(__aarch64__)
 #    define __NR_memfd_create 385
-#  elif defined(__i386__)
+#  elif defined(__i386__) || defined(__x86_64__)
 #    define __NR_memfd_create 279
 #  else
 #    error "Architecture not supported"