aboutsummaryrefslogtreecommitdiff
path: root/windows/alloca.h
diff options
context:
space:
mode:
authorDamien George2014-06-08 13:25:33 +0100
committerDamien George2014-06-08 13:25:33 +0100
commit4480cb37118b662cf301953595b37704dc197d40 (patch)
tree856afe4dbfbeea23134dd40275cbd1aa96a1d0ed /windows/alloca.h
parentdf896eceef27bc9a159bd62cdd78c66a56462544 (diff)
Provide definition of alloca() in mpconfigport.h.
Diffstat (limited to 'windows/alloca.h')
-rw-r--r--windows/alloca.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/windows/alloca.h b/windows/alloca.h
deleted file mode 100644
index 4d47e4aab..000000000
--- a/windows/alloca.h
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * This file is part of the Micro Python project, http://micropython.org/
- *
- * The MIT License (MIT)
- *
- * Copyright (c) 2013, 2014 Damien P. George
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-// Compatibility header to workaround lack of native alloca.h in some
-// Windows toolchains.
-#include <malloc.h>