For web purposes we want filenames to be UTF-8, so forcibly encode them that way.
@@ -41,7 +41,7 @@ zip: zipexclude
fi
cd www && \
TZ=GMT0 \
- $(ZIP) -9DrpX -FS ../zip/www.zip . -x@../zipexclude
+ $(ZIP) -9DrpX -UN=UTF8 -FS ../zip/www.zip . -x@../zipexclude
# Ugly hack but needed to avoid unnecessary rebuilds
www.zip: zip
@@ -95,6 +95,7 @@ typedef unsigned __int128 size2_t;
#define __nonnull_arg(...) __attribute__((__nonnull__(__VA_ARGS__)))
#define __no_return void __attribute__((__noreturn__))
#define __nonnull_ret __attribute__((__returns_nonnull__))
+#define __packed __attribute__((__packed__))
#define __safe_alloc(...) __nonnull_ret __alloc_size(__VA_ARGS__)