mirror of
https://github.com/sipeed/MaixCDK.git
synced 2026-09-15 06:03:02 -05:00
fix fs compile error
This commit is contained in:
@@ -11,21 +11,17 @@
|
||||
#include <vector>
|
||||
#include <stdio.h>
|
||||
|
||||
#undef SEEK_SET
|
||||
#undef SEEK_CUR
|
||||
#undef SEEK_END
|
||||
|
||||
namespace maix::fs
|
||||
{
|
||||
/**
|
||||
* SEEK enums
|
||||
* @maixpy maix.fs.SEEK
|
||||
*/
|
||||
enum SEEK
|
||||
enum class SEEK
|
||||
{
|
||||
SEEK_SET = 0, // Seek from beginning of file.
|
||||
SEEK_CUR = 1, // Seek from current position.
|
||||
SEEK_END = 2, // Seek from end of file.
|
||||
FS_SEEK_SET = 0, // Seek from beginning of file.
|
||||
FS_SEEK_CUR = 1, // Seek from current position.
|
||||
FS_SEEK_END = 2, // Seek from end of file.
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user