aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Romanko <me@blankhex.com>2025-02-28 10:13:37 +0300
committerMikhail Romanko <me@blankhex.com>2025-02-28 10:13:51 +0300
commite1c62d4f6bc51e867dda5ad4f1b584f3def29637 (patch)
treeecd7443019ad50c9db7da6fb5abf7b3ed049ad52
parentb0fbfcd69eee59aa2d2428ddd88be158089bf481 (diff)
downloadbhlib-e1c62d4f6bc51e867dda5ad4f1b584f3def29637.tar.gz
Move platform-dependent code into it's own directory
-rw-r--r--CMakeLists.txt6
-rw-r--r--src/Platform/Dummy/File.c (renamed from src/dummy/File.c)0
-rw-r--r--src/Platform/Posix/File.c (renamed from src/posix/File.c)0
-rw-r--r--src/Platform/Win32/File.c (renamed from src/win32/File.c)0
4 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d6037e5..f6fc67c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -110,21 +110,21 @@ if(WIN32)
# Add platform dependent files
list(APPEND BH_SOURCE
- src/win32/File.c
+ src/Platform/Win32/File.c
)
elseif(UNIX)
message(STATUS "Platform: Unix (Linux/BSD/MacOS X)")
# Add platform dependent files
list(APPEND BH_SOURCE
- src/posix/File.c
+ src/Platform/Posix/File.c
)
else()
message(STATUS "Platform: Unknown")
# Add platform dependent files
list(APPEND BH_SOURCE
- src/dummy/File.c
+ src/Platform/Dummy/File.c
)
endif()
diff --git a/src/dummy/File.c b/src/Platform/Dummy/File.c
index 2cb1cd6..2cb1cd6 100644
--- a/src/dummy/File.c
+++ b/src/Platform/Dummy/File.c
diff --git a/src/posix/File.c b/src/Platform/Posix/File.c
index f8ee089..f8ee089 100644
--- a/src/posix/File.c
+++ b/src/Platform/Posix/File.c
diff --git a/src/win32/File.c b/src/Platform/Win32/File.c
index 3cb1972..3cb1972 100644
--- a/src/win32/File.c
+++ b/src/Platform/Win32/File.c