aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex March2015-09-18 21:18:21 +0100
committerDamien George2015-09-19 14:03:57 +0100
commitc0035d16941adf867b7bdb2c8e6cf2248a732be7 (patch)
treeebc2f9bea21660c054a242643ffb015d0d02ee14
parent1e9d8e110b56b0771eddffb636f99f76407782aa (diff)
unix: Use MICROPY_HAL_H macro for header inclusion.
Follow the same format as other ports using the macro to include the HAL header.
-rw-r--r--unix/main.c2
-rw-r--r--unix/unix_mphal.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/unix/main.c b/unix/main.c
index 651c3836c..3e4358672 100644
--- a/unix/main.c
+++ b/unix/main.c
@@ -45,7 +45,7 @@
#include "py/gc.h"
#include "py/stackctrl.h"
#include "genhdr/mpversion.h"
-#include "unix_mphal.h"
+#include MICROPY_HAL_H
#include "input.h"
// Command line options, with their defaults
diff --git a/unix/unix_mphal.c b/unix/unix_mphal.c
index 1f545f9e5..11cd03344 100644
--- a/unix/unix_mphal.c
+++ b/unix/unix_mphal.c
@@ -29,7 +29,7 @@
#include <string.h>
#include "py/mpstate.h"
-#include "unix_mphal.h"
+#include MICROPY_HAL_H
#ifndef _WIN32
#include <signal.h>