summaryrefslogtreecommitdiff
path: root/profiles/osapi/midipix.h
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-12-14 15:21:47 -0500
committermidipix <writeonce@midipix.org>2018-12-18 20:38:38 -0500
commit163f7614a875802e3eccda713f206cfa7ae3534e (patch)
tree85f8b259219da1bf7f32c6f2efba6f8e278460fe /profiles/osapi/midipix.h
parentf8089b2b4ab3b13077cf2e0e1328622ddc002bb2 (diff)
downloadsbpython3-163f7614a875802e3eccda713f206cfa7ae3534e.tar.bz2
sbpython3-163f7614a875802e3eccda713f206cfa7ae3534e.tar.xz
config & profiles: imported the osapi and toolchain headers from sbpython2.
Diffstat (limited to 'profiles/osapi/midipix.h')
-rw-r--r--profiles/osapi/midipix.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/profiles/osapi/midipix.h b/profiles/osapi/midipix.h
new file mode 100644
index 0000000..bf94a2b
--- /dev/null
+++ b/profiles/osapi/midipix.h
@@ -0,0 +1,18 @@
+#ifndef PY_OSAPI_MIDIPIX_H
+#define PY_OSAPI_MIDIPIX_H
+
+/* os-specific headers */
+#define HAVE_ALLOCA_H 1
+#define HAVE_DIRENT_H 1
+#define HAVE_NETPACKET_PACKET_H 1
+
+/* os characteristics */
+#define RETSIGTYPE void
+#define SHLIB_EXT ".so"
+
+/* framework characteristics */
+#define SYS_SELECT_WITH_SYS_TIME 1
+#define TANH_PRESERVES_ZERO_SIGN 1
+#define TIME_WITH_SYS_TIME 1
+
+#endif