From 95591d293891b2657c0604616dcdc633a3a5eaac Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Thu, 14 Dec 2017 17:22:43 +0100 Subject: [PATCH] Move platform specific to sys/ Move unix/ and win/ to sys/, so that we can use android/ for android headers without confusion. --- app/meson.build | 4 ++-- app/src/{ => sys}/unix/command.c | 2 +- app/src/{ => sys}/win/command.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename app/src/{ => sys}/unix/command.c (96%) rename app/src/{ => sys}/win/command.c (97%) diff --git a/app/meson.build b/app/meson.build index 3482f14c..59a58f47 100644 --- a/app/meson.build +++ b/app/meson.build @@ -12,9 +12,9 @@ src = [ ] if host_machine.system() == 'windows' - src += [ 'src/win/command.c' ] + src += [ 'src/sys/win/command.c' ] else - src += [ 'src/unix/command.c' ] + src += [ 'src/sys/unix/command.c' ] endif dependencies = [ diff --git a/app/src/unix/command.c b/app/src/sys/unix/command.c similarity index 96% rename from app/src/unix/command.c rename to app/src/sys/unix/command.c index 776e0167..45f116ed 100644 --- a/app/src/unix/command.c +++ b/app/src/sys/unix/command.c @@ -1,4 +1,4 @@ -#include "../command.h" +#include "../../command.h" #include #include diff --git a/app/src/win/command.c b/app/src/sys/win/command.c similarity index 97% rename from app/src/win/command.c rename to app/src/sys/win/command.c index ad9984e0..6e2cba7a 100644 --- a/app/src/win/command.c +++ b/app/src/sys/win/command.c @@ -1,4 +1,4 @@ -#include "../command.h" +#include "../../command.h" #include #include "../strutil.h"