mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
[liba] Define SEEK_CUR
For some reason it was defined in Python and raised re-def errors
This commit is contained in:
committed by
EmilieNumworks
parent
6de90d97a4
commit
a840e7fb05
@@ -2,5 +2,6 @@
|
||||
#define LIBA_UNISTD_H
|
||||
|
||||
#define SEEK_SET 0
|
||||
#define SEEK_CUR 1
|
||||
|
||||
#endif
|
||||
|
||||
@@ -119,8 +119,6 @@ typedef uintptr_t mp_uint_t; // must be pointer size
|
||||
|
||||
typedef long mp_off_t;
|
||||
|
||||
#define SEEK_CUR 1
|
||||
|
||||
// extra built in names to add to the global namespace
|
||||
#define MICROPY_PORT_BUILTINS \
|
||||
{ MP_OBJ_NEW_QSTR(MP_QSTR_open), (mp_obj_t)&mp_builtin_open_obj }, \
|
||||
|
||||
Reference in New Issue
Block a user