[osal]: Fix compile error on windows

Change-Id: Id908c592aaee3b8f16f7529c8c3995b3f4af78f8
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
Herman Chen
2016-12-16 11:21:59 +08:00
parent 4e84e624c8
commit e2ba112070
2 changed files with 3 additions and 2 deletions

View File

@@ -125,9 +125,11 @@
#include <direct.h>
#include <io.h>
#include <sys/stat.h>
#define chdir _chdir
#define mkdir _mkdir
#define access _access
#define off_t _off_t
#define R_OK 4 /* Test for read permission. */
#define W_OK 2 /* Test for write permission. */

View File

@@ -14,8 +14,7 @@
* limitations under the License.
*/
#include <unistd.h>
#include "mpp_common.h"
#include "mpp_platform.h"
RK_U32 mpp_get_vcodec_hw_flag(void)