aboutsummaryrefslogtreecommitdiff
path: root/src/container
diff options
context:
space:
mode:
Diffstat (limited to 'src/container')
-rw-r--r--src/container/CMakeLists.txt2
-rw-r--r--src/container/esp32/inc/container/port.h6
2 files changed, 8 insertions, 0 deletions
diff --git a/src/container/CMakeLists.txt b/src/container/CMakeLists.txt
index 740fe37..981d7c9 100644
--- a/src/container/CMakeLists.txt
+++ b/src/container/CMakeLists.txt
@@ -4,6 +4,8 @@ if(PS1_BUILD)
set(inc ${inc} "ps1/inc")
elseif(SDL1_2_BUILD)
set(inc ${inc} "sdl-1.2/inc")
+elseif(ESP32_BUILD)
+ set(inc ${inc} "esp32/inc")
endif()
add_library(container "src/container.c")
diff --git a/src/container/esp32/inc/container/port.h b/src/container/esp32/inc/container/port.h
new file mode 100644
index 0000000..f3d9ffb
--- /dev/null
+++ b/src/container/esp32/inc/container/port.h
@@ -0,0 +1,6 @@
+#ifndef CONTAINER_ESP32_H
+#define CONTAINER_ESP32_H
+
+#define container_load(path, list, n) container_load_ex(path, list, n)
+
+#endif /* CONTAINER_ESP32_H */