diff options
author | Daniil Cherednik <dan.cherednik@gmail.com> | 2020-01-01 16:01:42 -0500 |
---|---|---|
committer | Daniil Cherednik <dan.cherednik@gmail.com> | 2020-01-01 16:01:42 -0500 |
commit | 6b9d92b3797207551547a7a95a0ba28642bf4dd0 (patch) | |
tree | dc42443b4d30c2914361c4f436f2a1f42e571185 | |
parent | 3d69df17657c40030fb486a86ef179a42b3873ca (diff) | |
download | atracdenc-6b9d92b3797207551547a7a95a0ba28642bf4dd0.tar.gz |
Fix compilation on POSIX platforms.0.0.2
-rw-r--r-- | src/lib/endian_tools.h (renamed from src/lib/endian.h) | 0 | ||||
-rw-r--r-- | src/oma/liboma/src/liboma.c | 2 | ||||
-rw-r--r-- | src/platform/win/pcm_io/pcm_io.cpp | 4 | ||||
-rw-r--r-- | src/platform/win/pcm_io/win32/pcm_io_win32.cpp | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/endian.h b/src/lib/endian_tools.h index 519cca1..519cca1 100644 --- a/src/lib/endian.h +++ b/src/lib/endian_tools.h diff --git a/src/oma/liboma/src/liboma.c b/src/oma/liboma/src/liboma.c index 13d3a40..d09a964 100644 --- a/src/oma/liboma/src/liboma.c +++ b/src/oma/liboma/src/liboma.c @@ -19,7 +19,7 @@ #include "../include/oma.h" #include "oma_internal.h" -#include <endian.h> +#include <endian_tools.h> #include <stdio.h> #include <stdlib.h> diff --git a/src/platform/win/pcm_io/pcm_io.cpp b/src/platform/win/pcm_io/pcm_io.cpp index fb44cc0..bd266ea 100644 --- a/src/platform/win/pcm_io/pcm_io.cpp +++ b/src/platform/win/pcm_io/pcm_io.cpp @@ -20,7 +20,7 @@ #include "mf/pcm_io_mf.h" #include "win32/pcm_io_win32.h" -#include <endian.h> +#include <endian_tools.h> #include <iostream> #include <windows.h> @@ -61,4 +61,4 @@ IPCMProviderImpl* CreatePCMIOReadImpl(const std::string& path) { IPCMProviderImpl* CreatePCMIOWriteImpl(const std::string& path, int channels, int sampleRate) { return CreatePCMIOMFWriteImpl(path, channels, sampleRate); -}
\ No newline at end of file +} diff --git a/src/platform/win/pcm_io/win32/pcm_io_win32.cpp b/src/platform/win/pcm_io/win32/pcm_io_win32.cpp index 3454bb6..7eee5b0 100644 --- a/src/platform/win/pcm_io/win32/pcm_io_win32.cpp +++ b/src/platform/win/pcm_io/win32/pcm_io_win32.cpp @@ -19,7 +19,7 @@ #include "../../../wav.h" #include "../../../env.h" -#include <endian.h> +#include <endian_tools.h> #include "pcm_io_win32.h" #include "../pcm_io_impl.h" @@ -169,4 +169,4 @@ private: IPCMProviderImpl* CreatePCMIOStreamWin32ReadImpl() { return new TPCMIOStreamWin32(); -}
\ No newline at end of file +} |