Skip to content

Commit c0035d1

Browse files
hosakadpgeorge
authored andcommitted
unix: Use MICROPY_HAL_H macro for header inclusion.
Follow the same format as other ports using the macro to include the HAL header.
1 parent 1e9d8e1 commit c0035d1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

unix/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
#include "py/gc.h"
4646
#include "py/stackctrl.h"
4747
#include "genhdr/mpversion.h"
48-
#include "unix_mphal.h"
48+
#include MICROPY_HAL_H
4949
#include "input.h"
5050

5151
// Command line options, with their defaults

unix/unix_mphal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
#include <string.h>
3030

3131
#include "py/mpstate.h"
32-
#include "unix_mphal.h"
32+
#include MICROPY_HAL_H
3333

3434
#ifndef _WIN32
3535
#include <signal.h>

0 commit comments

Comments
 (0)