summaryrefslogtreecommitdiff
path: root/py/misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/misc.h')
-rw-r--r--py/misc.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/py/misc.h b/py/misc.h
index 2f53dcbd3..c0fd293de 100644
--- a/py/misc.h
+++ b/py/misc.h
@@ -23,12 +23,11 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
+#ifndef __MICROPY_INCLUDED_PY_MISC_H__
+#define __MICROPY_INCLUDED_PY_MISC_H__
// a mini library of useful types and functions
-#ifndef _INCLUDED_MINILIB_H
-#define _INCLUDED_MINILIB_H
-
/** types *******************************************************/
#include <stdbool.h>
@@ -185,4 +184,4 @@ static inline mp_uint_t count_lead_ones(byte val) {
}
#endif
-#endif // _INCLUDED_MINILIB_H
+#endif // __MICROPY_INCLUDED_PY_MISC_H__