mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-06 01:26:49 +08:00
[osal]: Fix compile error on windows
Change-Id: Id908c592aaee3b8f16f7529c8c3995b3f4af78f8 Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
@@ -125,9 +125,11 @@
|
|||||||
|
|
||||||
#include <direct.h>
|
#include <direct.h>
|
||||||
#include <io.h>
|
#include <io.h>
|
||||||
|
#include <sys/stat.h>
|
||||||
#define chdir _chdir
|
#define chdir _chdir
|
||||||
#define mkdir _mkdir
|
#define mkdir _mkdir
|
||||||
#define access _access
|
#define access _access
|
||||||
|
#define off_t _off_t
|
||||||
|
|
||||||
#define R_OK 4 /* Test for read permission. */
|
#define R_OK 4 /* Test for read permission. */
|
||||||
#define W_OK 2 /* Test for write permission. */
|
#define W_OK 2 /* Test for write permission. */
|
||||||
|
@@ -14,8 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <unistd.h>
|
#include "mpp_common.h"
|
||||||
|
|
||||||
#include "mpp_platform.h"
|
#include "mpp_platform.h"
|
||||||
|
|
||||||
RK_U32 mpp_get_vcodec_hw_flag(void)
|
RK_U32 mpp_get_vcodec_hw_flag(void)
|
||||||
|
Reference in New Issue
Block a user