summaryrefslogtreecommitdiffstatshomepage
path: root/py/mpconfig.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-12-29 01:02:19 +0000
committerDamien George <damien.p.george@gmail.com>2014-12-29 01:02:19 +0000
commit9ddbe291c4217873b7f50dc03c025aa0c9ffee3d (patch)
treeb5dd73487e5c59dcf5b3016893ee890f2455d1d6 /py/mpconfig.h
parentf89d659e3b587fb806d20f5f243f5ed79ed19a5d (diff)
downloadmicropython-9ddbe291c4217873b7f50dc03c025aa0c9ffee3d.tar.gz
micropython-9ddbe291c4217873b7f50dc03c025aa0c9ffee3d.zip
py: Add include guards to mpconfig,misc,qstr,obj,runtime,parsehelper.
Diffstat (limited to 'py/mpconfig.h')
-rw-r--r--py/mpconfig.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h
index 76f31e48e9..b193051c51 100644
--- a/py/mpconfig.h
+++ b/py/mpconfig.h
@@ -23,6 +23,8 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
+#ifndef __MICROPY_INCLUDED_PY_MPCONFIG_H__
+#define __MICROPY_INCLUDED_PY_MPCONFIG_H__
// This file contains default configuration settings for MicroPython.
// You can override any of the options below using mpconfigport.h file
@@ -572,3 +574,5 @@ typedef double mp_float_t;
#ifndef MP_UNLIKELY
#define MP_UNLIKELY(x) __builtin_expect((x), 0)
#endif
+
+#endif // __MICROPY_INCLUDED_PY_MPCONFIG_H__