summaryrefslogtreecommitdiff
path: root/py/circuitpy_mpconfig.h
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2019-02-21 13:24:07 -0800
committerGitHub <noreply@github.com>2019-02-21 13:24:07 -0800
commit0261c57d32310a0c14703de3c197b700f9f401c3 (patch)
tree6630a1593a1cda7e84e700b0b02634bae7a6c63a /py/circuitpy_mpconfig.h
parentb8678c936b0dfae1acbff9ec4e10f8e6f6819690 (diff)
parent01e5a82f1c157c4e170fec4b1e9d1bd1156e97fe (diff)
Merge pull request #1582 from dhalbert/remove-u-names
rename ure, ujson, and uerrno to re, json, and errno
Diffstat (limited to 'py/circuitpy_mpconfig.h')
-rw-r--r--py/circuitpy_mpconfig.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/py/circuitpy_mpconfig.h b/py/circuitpy_mpconfig.h
index d83282123..6f9705485 100644
--- a/py/circuitpy_mpconfig.h
+++ b/py/circuitpy_mpconfig.h
@@ -33,6 +33,9 @@
#ifndef __INCLUDED_MPCONFIG_CIRCUITPY_H
#define __INCLUDED_MPCONFIG_CIRCUITPY_H
+// This is CircuitPython.
+#define CIRCUITPY 1
+
// REPR_C encodes qstrs, 31-bit ints, and 30-bit floats in a single 32-bit word.
#define MICROPY_OBJ_REPR (MICROPY_OBJ_REPR_C)