Skip to content

Display and control your Android device

Move platform specific to sys/

Romain Vimont95591d293891
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 <signal.h>
#include <sys/types.h>
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 <stdio.h>
#include "../strutil.h"