X-Git-Url: http://git.draconx.ca/gitweb/upkg.git/blobdiff_plain/67b795eeb9c9515adb9450562a3e7e15eb63a21d..7a7477c44a497ed04c9b677488bc42bce90b0831:/src/engine/mesh.gob?ds=sidebyside
diff --git a/src/engine/mesh.gob b/src/engine/mesh.gob
index ed633a8..8e60828 100644
--- a/src/engine/mesh.gob
+++ b/src/engine/mesh.gob
@@ -1,28 +1,36 @@
%alltop{
/*
- * upkg: tool for manipulating Unreal Tournament packages.
- * Copyright © 2020 Nick Bowler
+ * upkg: tool for manipulating Unreal Tournament packages.
+ * Copyright © 2020, 2022 Nick Bowler
*
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
%}
+%ctop{
+#include
+%}
+
%{
-#include
+#include
#include
#include
#include "pack.h"
+
+#ifndef SIZE_MAX
+# define SIZE_MAX ((size_t)-1)
+#endif
%}
%h{