Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
66fd3e4a
Commit
66fd3e4a
authored
Nov 13, 2015
by
Paul Sokolovsky
Browse files
unix: Use standard mphalport.h header.
This also unbreaks "make minimal".
parent
3a6b3d23
Changes
2
Hide whitespace changes
Inline
Side-by-side
unix/mpconfigport.h
View file @
66fd3e4a
...
...
@@ -224,8 +224,6 @@ extern const struct _mp_obj_fun_builtin_t mp_builtin_open_obj;
mp_obj_t keyboard_interrupt_obj; \
void *mmap_region_head; \
#define MICROPY_MPHALPORT_H "unix_mphal.h"
// We need to provide a declaration/definition of alloca()
#ifdef __FreeBSD__
#include <stdlib.h>
...
...
unix/
unix_
mphal.h
→
unix/mphal
port
.h
View file @
66fd3e4a
...
...
@@ -23,6 +23,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
#include <unistd.h>
#ifndef CHAR_CTRL_C
#define CHAR_CTRL_C (3)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment